Search with upper and lower case

3 years 6 months ago #320894 by ericmuc
Search with upper and lower case was created by ericmuc
Hi,

I am testing first idea of searching in my website.

I realized, that a word with a upper letter at the beginning cannot be found if all letters are typed in with lower case.

How can I get a search with lower letters, which finds also words with upper letters? Can I add code somewhere?

Thanks, best regards
Eric

Please Log in to join the conversation.

3 years 6 months ago #320904 by krileon
Replied by krileon on topic Search with upper and lower case
Searching what? Userlist searching shouldn't be case sensitive. You can see this working on our demosite below.

demo.cbdemosites.com/demos/community-builder/user-lists/grid-layout?firstname=DEMO


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

3 years 6 months ago #320908 by ericmuc
Replied by ericmuc on topic Search with upper and lower case
Hi,

I have a text field in a field group and can search with that. But I have to add for example "Innova" as exactly is filled in, "innova" doesn't work.

Can I get it working somehow that I can also here search case insensitve?

Thanks, best regards
Eric

Please Log in to join the conversation.

3 years 6 months ago #320911 by krileon
Replied by krileon on topic Search with upper and lower case
Searching field group fields is a different behavior. It's using MYSQL JSON functions, which might result in a case sensitive search. What is "Search crieteria" set to within your userlist under Parameters > Search. If set to "Simple Exact match: Only 'is' and ranges" change it to "Simple Any word match: Only 'any of' and ranges (WARNING: can be slow)" and retry.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

3 years 6 months ago #320916 by ericmuc
Replied by ericmuc on topic Search with upper and lower case
Hi,

I tested this already before. Unfortunately it is case sensitive.

Is there any chance to get the search with the group fields case insensitive? Would be helpful for easier searching, I think.

I used already the Joomla search with your search plugin. Here my test works well, moreover I can use only party of the word and it is found with the standard search settings.

BUT: if the user has set searched data privacy to not public the Joomla search don't find the user, the search with the CB user list do and shows the profile without the data.

To find the user profile even with privacy settings to that search data with the Joomla search would also be helpful. Or can I do better setting in CB for this?

What do you mean?

Thanks, best regards
Eric

Please Log in to join the conversation.

3 years 6 months ago #320926 by krileon
Replied by krileon on topic Search with upper and lower case

I tested this already before. Unfortunately it is case sensitive.

That would be the JSON MYSQL functions doing that. Will see if there is a possible workaround for a future release.

forge.joomlapolis.com/issues/8201

BUT: if the user has set searched data privacy to not public the Joomla search don't find the user

That's working as expected. The search shouldn't output users who you don't have permission to view.

, the search with the CB user list do and shows the profile without the data.

That's not working as expected and likely due to it being a field group. That would be a bug that needs to be fixed.

forge.joomlapolis.com/issues/8202


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.208 seconds

Facebook Twitter LinkedIn