Revert "Bug 18551: followup - hide advanced filters in header, move hidding to css file"

This reverts commit 50f10a3928.
This commit is contained in:
Katrin Fischer 2017-06-05 15:54:38 +02:00
parent 20472eec42
commit 4974304050
3 changed files with 5 additions and 14 deletions

View File

@ -2808,9 +2808,3 @@ div[class$="_table_controls"] {
#borrower_message {
margin-top: 10px;
}
#pat_member #patron_list_dialog,
#pat_member #searchresults,
#patron_search #filters {
display: none;
}

View File

@ -162,12 +162,9 @@ $(document).ready(function() {
$('#filters').toggle();
$('.filteraction').toggle();
});
[% IF ( advsearch ) %]
$("#filteraction_on").toggle();
$("#filters").show();
[% ELSE %]
$("#filteraction_off").toggle();
[% END %]
[% IF ( advsearch ) %]$("#filteraction_on").toggle();
[% ELSE %]$("#filters").toggle();
$("#filteraction_off").toggle();[% END %]
[% SET dateformat = Koha.Preference('dateformat') %]
$("#searchfieldstype").change(function() {
if ( $(this).val() == 'dateofbirth' ) {

View File

@ -327,7 +327,7 @@ function filterByFirstLetterSurname(letter) {
<div class="yui-b">
<div class="yui-g">
[% IF CAN_user_tools_manage_patron_lists %]
<div id="patron_list_dialog" class="dialog alert">
<div id="patron_list_dialog" class="dialog alert" style="display:none">
Added <span class="patrons-length"></span> patrons to <a></a>.
</div>
[% END %]
@ -354,7 +354,7 @@ function filterByFirstLetterSurname(letter) {
</div>
[% END %]
<div id="searchresults">
<div id="searchresults" style="display:none">
<div id="searchheader">
<h3>Patrons found for: <span id="searchpattern">[% IF searchmember %] for '[% searchmember %]'[% END %]</span></h3>
</div>