The title of my ticket is incorrect- things worked fine until views 3.02 - problems started with 3.10.
I am trying to:
One simple select filter plus DatePicker to pass data via url parameter to the results view, after selecting the date my filter dropdown becomes empty
Link to a page where the issue can be seen:
hidden link
I expected to see:
hidden link
hidden link
Instead, I got:
hidden link
..& cannot select filter
Video makes this clear...
hidden link
The symptoms change a little depending on if I load BS4 myself or rely on toolset; and if I am running jQuery Manager for WordPress.
Basically.
Astra + my child theme + views 3.02 + jQuery Manager worked fine for about 10 months -- but 3.02 is giving other errors and 3.12 has a another fix I requested.
Views 3.12 is inconsistent. If I add some jQuery to hide and display the submit button the field appears - but the jQuery no longer works to reformat the date and if I enable jQuery Manager to work with the date formatter (Unix time to yyyymmdd format) the field goes non selectable.
I have tried multiple combinations of themes loading BS4 not loading, using toolset to load and the single point of failure seems to be views 3.10 onwards
I set up two test environments with the same credentials - see below... there is only space for one but both are the same except for the url which references the views version - otherwise they are identical hidden link and hidden link
So there are a few questions here...
1. there appears to be something broken in Views 3.10, 3.11 and 3.12 which prevents the use of the datepicker to generate a URL parm; this occurs without either jQuery Manager or indeed any JS at all in the View.
2. do you think https://wordpress.org/plugins/jquery-manager/ is compatible with toolset ?
3. Perhaps there is a a better way to pass a selected date from one view to the next. I need two views (one to select and one to display) as on the real site we have a lot of data and wish to reduce the query overhead.
[wpv-filter-start hide="false"]
[wpv-filter-controls]
<div class="row">
<div class="col-sm"><label>[wpml-string context="wpv-views"]Tour Date:[/wpml-string]<br> [wpv-control-postmeta type="date" url_param="tbk_date"]</label></div>
<div class="col-sm" id="select-both" align="left"><label>[wpml-string context="wpv-views"]Please Select BOTH Tour Date and Tour[/wpml-string]</label></div>
</div>
<div class="form-group">
<label>[wpml-string context="wpv-views"]Area[/wpml-string]</label>
[wpv-control-post-relationship ancestors="tbk_service@area-tour-guide.parent" url_param="wpv-relationship-filter"]
<div class="form-group">
[wpv-control-post-ancestor type="select" ancestor_type="tbk_service@area-tour-guide.parent"]
</div>
</div>
[/wpv-control-post-relationship]
<div class="row">
<div class="col-sm">
<div class="text-left">
[wpv-filter-submit output="bootstrap" name="Submit Button -- no jQuery"]
</div>
</div>
</div>
[/wpv-filter-controls]
[wpv-filter-end]