I am trying to: create an advanced product search
Link to a page where the issue can be seen: hidden link
I expected to see: the advanced search fields and results
Instead, I got: nothing... In my first attempt I was able to create the multiple fields form but the results were not working. Now, I can't even show the multiple fields form
Dear Andres,
Thanks for the details, I checked it in your website, here is what I found
1) The problem page:
hidden link
is using layout "Nuevos enfoques del derecho aeronáutico y espacial 1":
hidden link
I tried to edit above layout, but get below JS error:
Uncaught SyntaxError: Unexpected token
2) So I create another simple layout "test layout", with only one post content cell:
hidden link
assign it to the page "Busqueda avanzada"
See the result:
hidden link
For the JS error of step 1), it might be a compatibility problem, please check these:
deactivate other plugins and switch to wordpress default theme, and test again
Hi Luo Yoang,
Thanks for your answer! The issue is that the search is not working.
You can try this:
In the field called "Autor" you can try search the word "Barra". The search result is going to be 0.
If you enter the same search in the generic search box on the sidebar, you will get 1 answer.
For some reason I can't find why the search won't work in this advanced search form. I followed all the instructions in the tutorial, but it won't work.
I've been trying several things, but nothing worked.
Hope you can help me with this.
It is a new question, in your case, I have modified the view:
hidden link
in section "Filtro de consulta", modify the custom field filter from:
Autor es un/a cadena igual a URL_PARAM(autor)
To:
Autor es un/a cadena como URL_PARAM(autor)
Use the comparison "LIKE", see our document:
https://toolset.com/documentation/user-guides/filtering-views-by-custom-fields/
LIKE
Single value
Checks if the custom field value is similar to the compare value, using MySQL LIKE operator