Bug 18551: [16.11.x] followup - hide advanced filters in header, move hidding to css file
Test plan: The same as first patch, but also with advanced search form in header hidden on page load - see comment 4 Issue with advanced search form is gone. Signed-off-by: Marc Véron <veron@veron.ch> Signed-off-by: Philippe <philippe.audet-fortin@inlibro.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
067c45ed30
commit
0fcbcd8675
|
|
@ -2808,3 +2808,9 @@ div[class$="_table_controls"] {
|
|||
#borrower_message {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
#pat_member #patron_list_dialog,
|
||||
#pat_member #searchresults,
|
||||
#patron_search #filters {
|
||||
display: none;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -162,9 +162,12 @@ $(document).ready(function() {
|
|||
$('#filters').toggle();
|
||||
$('.filteraction').toggle();
|
||||
});
|
||||
[% IF ( advsearch ) %]$("#filteraction_on").toggle();
|
||||
[% ELSE %]$("#filters").toggle();
|
||||
$("#filteraction_off").toggle();[% END %]
|
||||
[% IF ( advsearch ) %]
|
||||
$("#filteraction_on").toggle();
|
||||
$("#filters").show();
|
||||
[% ELSE %]
|
||||
$("#filteraction_off").toggle();
|
||||
[% END %]
|
||||
[% SET dateformat = Koha.Preference('dateformat') %]
|
||||
$("#searchfieldstype").change(function() {
|
||||
if ( $(this).val() == 'dateofbirth' ) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue