I have question about custom list and search bar. So I have list which shows all users and then custom filter for show only users: Emplyer is false and Public profile is true. Now I tried to make search bar so employers can filter the public profiles more.
But if I add custom filters under those 2 filter all of the filters stop working? How I should get the search bar work.
Hey @roope257
Make sure that you add the filter in the “AND” part. If you click “ADD CUSTOM FILTER” instead of just the one that says “AND”, then it adds an OR filter.
So click the “AND” under your current 2 filters and set the filter to search where “User Full Name > CONTAINS > Search input”
Be sure to use “Contains” and do not use “is equal to” because “is equal to” will require the full name exactly as it’s in the database (and it’s case-sensitive).
I added new filter under those 2 filters and it works. Then I tried to add fourth filter and it happened again. Then none of the filters works and I had to delete them all and add again so the 3 filters works…
Here, the 3rd filter is area and 4th is your career. So employer can type in search bar what area etc… Now it doesn’t work because I added the 4th filter.
Remove the filter that Ammatti> Contains>Input and add it as Or. (After removing click add another filter ( not AND ) and add this removed filter there and try)
I think it’s because of the OR filter. Because when the email is there the results are shown but not filtered with the true/false property. You can add that same two filters in your OR filter.
Filtering :
Yritys tili>is false
AND
IsJulkinen>is true
AND
Tyoskentelyalue>Contains>Input
OR
Yritys tili>is false
AND
IsJulkinen>is true
AND
Ammatti>Contains>Input