In the Pizza Tutorial, the standard search of customer is case insensitive, but the data displayed in the highlighted words too get their case changed to that of the search string. The Group column to the right of the images is absent here but that too is affected by these search case changes.
Upper Proper case search:
Lower Case search:
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Case insensitive search but spoils data display
-
- Posts: 249
- Joined: Sun Dec 06, 2020 6:50 am
- Location: Chennai, India, Singapore
Case insensitive search but spoils data display
You do not have the required permissions to view the files attached to this post.
-
- Posts: 156
- Joined: Wed Dec 23, 2020 12:28 pm
- Location: Russia, Volgograd
- Has thanked: 32 times
- Been thanked: 7 times
- Contact:
Re: Case insensitive search but spoils data display
I also encountered this, but I thought that it was something personally wrong with me 

You do not have the required permissions to view the files attached to this post.
Wbr, miasoft.
-
- nuBuilder Team
- Posts: 4288
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 442 times
- Contact:
Re: Case insensitive search but spoils data display
I replaced the function nuHighlightSearch() with a new one. Use nuform.js from the attachment.
Please test if the search works well with that.
Please test if the search works well with that.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 249
- Joined: Sun Dec 06, 2020 6:50 am
- Location: Chennai, India, Singapore
Re: Case insensitive search but spoils data display
Yes it works.
Whitespace cleaned version attached.
This has yet to satisfy multiple words in the search string separated by spaces to be searched separately.You do not have the required permissions to view the files attached to this post.
-
- Posts: 249
- Joined: Sun Dec 06, 2020 6:50 am
- Location: Chennai, India, Singapore
Re: Case insensitive search but spoils data display
@kev1n: Now satisfies multi word space separated search to work under nuBuilder v4 only. Under testing though.
Special characters need escaping in the code still to be done.
Special characters need escaping in the code still to be done.
You do not have the required permissions to view the files attached to this post.
-
- nuBuilder Team
- Posts: 4288
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 442 times
- Contact:
Re: Case insensitive search but spoils data display
The Search/Highlight has been updated and it is on Github.
[Fixed] Case insensitive search fixed not to change data case
[Added] jQuery.fn.nuHighlight ( Based on highlight v5: Highlights arbitrary terms)
[Fixed] Case insensitive search fixed not to change data case
[Added] jQuery.fn.nuHighlight ( Based on highlight v5: Highlights arbitrary terms)
-
- Posts: 249
- Joined: Sun Dec 06, 2020 6:50 am
- Location: Chennai, India, Singapore
Re: Case insensitive search but spoils data display
Thanks @kev1n.
Updated commits with new search highlighting function:
* v4.5 Commit 312
* v4 Commit 197 Furthermore, the multiple words can be typed in any order - the results are consistent and as expected.
Updated commits with new search highlighting function:
* v4.5 Commit 312
* v4 Commit 197 Furthermore, the multiple words can be typed in any order - the results are consistent and as expected.
You do not have the required permissions to view the files attached to this post.