We currently have a toolset view setup on this page hidden link (develop/Jan2025) with multiple filters.
Right now, only when filtering by age first does the next filter work, if selecting any other filters first it shows a "no results" message.
It's hard to say when the issue appeared, but on initial setup the filters were working correctly. It doesn't make a difference whether using ajax or with a submit button and full page refresh.
Any guidance here is appreciated, we can provide dashboard access if needed.
Hello. Thank you for contacting the Toolset support.
I try to access the problem URL you shared but I do not able to access it as it asks for authorization access details.
Can you please share authorization access details as well as admin access details and let me review your current setup and check whats going wrong with your setup.
*** 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've added the following code to your view's "Search and Pagination" section's custom JS editor section.
jQuery(document).ready(function ($){
$('select[name="wpv-camper-type"] option[value="0"]').val('');
$('select[name="wpv-program-type"] option[value="0"]').val('');
$('select[name="wpv-location"] option[value="0"]').val('');
$('select[name="wpv-camper-age"] option[value="0"]').val('');
$('select[name="wpv-eligibility"] option[value="0"]').val('');
$('select[name="wpvprogramdate"] option[value="0"]').val('');
});
jQuery( document ).on( 'js_event_wpv_parametric_search_form_updated', function( event, data ) {
/**
* data.view_unique_id (string) The View unique ID hash
* data.view_changed_form (object) The jQuery object for the View form after being updated
* data.view_changed_form_additional_forms_only (object) The jQuery object containing additional forms from other instances of the same View inserted using the [wpv-form-view] shortcode
* data.view_changed_form_additional_forms_full (object) The jQuery object containing additional forms from other instances of the same View inserted using the [wpv-view] shortcode
*/
jQuery('select[name="wpv-camper-type"] option[value="0"]').val('');
jQuery('select[name="wpv-program-type"] option[value="0"]').val('');
jQuery('select[name="wpv-location"] option[value="0"]').val('');
jQuery('select[name="wpv-camper-age"] option[value="0"]').val('');
jQuery('select[name="wpv-eligibility"] option[value="0"]').val('');
jQuery('select[name="wpvprogramdate"] option[value="0"]').val('');
});
jQuery( document ).on( 'js_event_wpv_pagination_completed', function( event, data ) {
/**
* data.view_unique_id (string) The View unique ID hash
* data.effect (string) The View AJAX pagination effect
* data.speed (integer) The View AJAX pagination speed in miliseconds
* data.layout (object) The jQuery object for the View layout wrapper
*/
jQuery('select[name="wpv-camper-type"] option[value="0"]').val('');
jQuery('select[name="wpv-program-type"] option[value="0"]').val('');
jQuery('select[name="wpv-location"] option[value="0"]').val('');
jQuery('select[name="wpv-camper-age"] option[value="0"]').val('');
jQuery('select[name="wpv-eligibility"] option[value="0"]').val('');
jQuery('select[name="wpvprogramdate"] option[value="0"]').val('');
});