By Viktor Andreev on Monday, 11 July 2022
Posted in General Issues
Likes 0
Views 502
Votes 0
Hi!
I have a strange problem - I have made the "Email" custom field "non-searchable" and it still appear as a search criteria in the Advanced Search!
Next, I have deleted the custom fields Gender, Languages and Country from the Users Profile Form Builder, yet they still appear as a search criteria !
It seems as there is no way to remove these criteria from the search menu, ... please help!

As a secondary question - haw can I change the default search criteria behavior from "is equal to" to "contains" ?
You're most welcome.

The file I mentioned earlier is not possible to override into your current template directory folder.

But I found out that it is possible to modify this in the theme file so you can copy my attached file and then put this file into your current template new directory folder JoomlaFolder/templates/yourCurrentTemplate/html/com_easysocial/search/advanced/operator.php and see how it goes.
·
Thursday, 14 July 2022 11:16
·
0 Likes
·
0 Votes
·
0 Comments
·
From what we checked, this "Staff Workflow" email field searchable option is still set to enabled, ensure that you have set those custom field searchable options to no. e.g. https://dev.nanook.club/administrator/index.php?option=com_easysocial&view=workflows&layout=form&id=9

Regarding with your second question, we do not have a setting to change this, but you can modify this core file JoomlaFolder/administrator/components/com_easysocial/includes/advancedsearch/advancedsearch.php (under this getOperators function)
·
Tuesday, 12 July 2022 19:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you, Arlex!

Gosh, I simply forgot that there is another Workflow - sorry for this!

About the second question - should I create an override or I can safely modify the core file ?
·
Thursday, 14 July 2022 01:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Arlex, thank you very much - it works perfectly!
·
Thursday, 14 July 2022 18:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome.

Just for your information, I have locked and marked this thread as resolved to avoid confusion in the future. Please start a new thread if you have any other issues in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Thursday, 14 July 2022 18:44
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post