Hi I created a new search bar with filters.
the search bar searches for jobs in custom type jobs section.
Depending on some grades filter it display the job pages.
so each job page has 13 filter and one taxonomy (gender)
the 13 filter are grades, select box.
10 of them are grade from 1 to 5
and 3 of them are other type of grade for exemple: 10, 20 ,30,40 to 90.
so the search works fine when I added 4 - 5 filters but when I added the remaining filter, the website broke for 1 - 2 days due to The Ajax and database calculation. so I don't know what to do to improve this because it is not working at all.
Also I remove this from my website since this break the website. I recreated a new website locally wit only the 2 toolset plugin and it does the same exact thing
Hi, I have requested access to the Drive space so I can download the archive. Please check your email for the notification. I will stand by for an update.
I see a problem in the Search Bar editor here:
/wp-admin/post.php?post=3263&action=edit
If you select the View block in the Block Navigation menu, you will find a setting in the Custom Search configurations: "Show only filter options that would produce results" (block-navigation.png). When I turn off this setting, more filters appear in the search filters area on the front-end of the site. It seems the first custom search filter is based on a custom field with the slug "yom-a-meah", but I cannot find that field in Toolset > Custom Fields > Post Fields. I visited Toolset > Custom Fields > Post Fields > Post Field Control, and I can see that this field has been deleted or removed from its Post Field Group, so that is why no results are displayed in the View and the other filters do not work. You must disable "Show only filter options that would produce results", or remove this filter from the Search Bar, or go to Post Field Control to Change assignment of this field so that it can be found in one of the existing Post Field Groups, like Filtres de recherche or info document (change-assignment.png).
I am not talking about this search view I created one in toolset/ views without front end like this and the thing is it is connected to the Postes custom post type so when I create multiple post in Postes custom type I select some notes etc and I do a research not from where you search but with the view search I created it does not load and make so many sql request that I have to restart the server each time
It seems that the problem occurs as soon as a 10th custom field filter is added to the View. If only 9 field filters exist, the problem does not occur. It does not seem to be related to any individual field, but is cumulative based on the total number of field filters. I am still investigating and will give you another update shortly.