I created a drop down field from a table. All items are shown the right way. the name is 'occupation'
I made 'occupation' searchable and it shows up in the search list I created.
There are more drop down fields in this search list. F.i. the drop down field 'state'. The difference is that 'state' is filled with values from within the field settings, not from table content.
So 'occupation' is filled dynamicaly with a query and 'state' is filled with static values.
If I choose a value from 'state' and search, the results are shown in the list.
If I choose a value from 'occupation' it says (in the top position) '1 user' but the list stays empty.
I set the search criteria to the second option. (simple + any)
I found out that the problem is related to the CB conditions settings.
If I choose 'ICT' from the occupations drop down, another list shows up with ICT functions. If I choose another value from occupations the ICT functions list is hidden.
I found out that if I choose ICT (and the ICT functions list is visible), the search results are shown in the list view. If the ICT functions is hidden (as a result from another value in the occupation drop drown) the're no search results (and there should be results).
Conditions can be applied to userlists and the search inputs. If you make a search on a user row where the field has been conditioned away, but the search criteria does match it results in that row being hidden. This is normally avoided by leaving value resetting enabled so it resets the fields value to empty when the condition doesn't match during registration and profile edit so searching on them will exclude them from the SQL results entirely. Alternatively as you've discovered you can turn conditions off for userlists entirely.
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.