View | Details | Raw Unified | Return to bug 27697
Collapse All | Expand All

(-)a/catalogue/detail.pl (+2 lines)
Lines 619-624 if ( C4::Context->preference('UseCourseReserves') ) { Link Here
619
    $template->param( course_reserves => $course_reserves );
619
    $template->param( course_reserves => $course_reserves );
620
}
620
}
621
621
622
$template->param(found1 => $query->param('found1') );
623
622
$template->param(biblio => $biblio);
624
$template->param(biblio => $biblio);
623
625
624
output_html_with_http_headers $query, $cookie, $template->output;
626
output_html_with_http_headers $query, $cookie, $template->output;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-7 / +8 lines)
Lines 1405-1416 Note that permanent location is a code, and location may be an authval. Link Here
1405
            [% END %]
1405
            [% END %]
1406
        });
1406
        });
1407
1407
1408
        $(document).ready(function() {
1408
        [% IF (found1) %]
1409
            var search_index = localStorage.getItem("cat_search_pulldown_selection");
1409
            $(document).ready(function() {
1410
            var search_value = localStorage.getItem("searchbox_value");
1410
                var search_index = localStorage.getItem("cat_search_pulldown_selection");
1411
            if ( search_index ){ $('#cat-search-block select.advsearch').val(search_index)};
1411
                var search_value = localStorage.getItem("searchbox_value");
1412
            if ( search_value ){ $('#cat-search-block #search-form').val(search_value)};
1412
                if ( search_index ){ $('#cat-search-block select.advsearch').val(search_index)};
1413
        });
1413
                if ( search_value ){ $('#cat-search-block #search-form').val(search_value)};
1414
            });
1415
        [% END %]
1414
    </script>
1416
    </script>
1415
[% END %]
1417
[% END %]
1416
[% INCLUDE 'intranet-bottom.inc' %]
1418
[% INCLUDE 'intranet-bottom.inc' %]
1417
- 

Return to bug 27697