Hi, I have a view that shows a list of a specific repeating field. it also has a search engine.
It shows the list but I can't get it to filter by the search field.
Hello. Thank you for contacting the Toolset support.
I see you are using legacy views.
As I understand - do you want to offer a frontend filter for your custom field rating so that user can filter the view result when they select any rating filter option? Is that correct or you want to filter with rating field with some specific value?
If you can describe your requirement in brief I will be able to guide you in the right direction.
Hello,
The repeated field has two fields:
-File title
-File
It will list all the repeated fields of all the posts in a CPT.
I have created a search filter to filter by the file title field. This filter does not work, when you search it tells you that no result was found even though it exists in the list.
Based on the screenshot I only get half of the information about your structure.
Can you please share admin access details and the problem URL where you added your view and tell me with what field you want to search and what is your expected results. Once I review your current setup I will be able to guide you in the right direction.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
I see and review your structure and if I am not wrong the field you want to search using text search filter is the field "nome-del-file".
If this is correct :
- To search in the text you will require to use the relevanssi plugin which Toolset is integrated to search in the custom field.
As you want to search in the repeating field group field, you have to index repeating field group and add the custom field name as shown with the following Doc.
Then with relevanssi settings I've checkmark the checkbox "scarica-i-file" under section "Tipi di articoli" and also added the custom field name "wpcf-nome-del-file" under section "Campi personalizzati".
With your view I've edit the query filter for your text search, I've set the option to search in: Title, body and custom fields
- hidden link
=> as you can see with the following screenshot: hidden link
I can see there is a repeating field group first item setup with custom field "Nome del file tecnico" and the value assigned to it is "Prueba tecnico" for the repeating field group "Scarica i file" with the following post.
- hidden link
Can you please check now: hidden link
I've search with the text "Prueba" and I can see the above view display one result.
Hi, I'm trying the one you send me and it works but on the other page I told you about it doesn't work and apparently I see that it has the same configuration.
Hi, I'm trying the one you send me and it works but on the other page I told you about it doesn't work and apparently I see that it has the same configuration. Scheda tecnica di sicurezza
As you can see with the Relevanssi settings page:
- hidden link
I've set same configuration - selected the checkbox "schede-di-sicurezza" and also added the repeating field custom field "wpcf-nome-del-file-sicurezza" to the section "Campi personalizzati".
With your vie - I've edit the query filter for your text search, I've set the option to search in: Title, body and custom fields
- hidden link
=> as you can see with the following screenshot: hidden link
I search with the word "Prueba" and I can see it filtering the results.
- hidden link
Hi, the screenshot you send me where you select body title and custom fields I can't see it or display those options in your screenshot from any of the two views, can you tell me exactly where I can find those settings?