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

(-)a/catalogue/detail.pl (-2 / +2 lines)
Lines 117-124 eval { $biblio->metadata->record }; Link Here
117
$template->param( decoding_error => $@ );
117
$template->param( decoding_error => $@ );
118
118
119
if( $query->param('found1') ){
119
if( $query->param('found1') ){
120
    if($query->cookie("pulldown_selection")){
120
    if($query->cookie("cat_search_pulldown_selection")){
121
        my $ms = "ms_". Encode::decode_utf8( uri_unescape( $query->cookie("pulldown_selection") ) );
121
        my $ms = "ms_". Encode::decode_utf8( uri_unescape( $query->cookie("cat_search_pulldown_selection") ) );
122
        $template->param( $ms => 1);
122
        $template->param( $ms => 1);
123
    }
123
    }
124
    if($query->cookie("searchbox_value")){
124
    if($query->cookie("searchbox_value")){
(-)a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js (-2 / +1 lines)
Lines 328-333 function resetSearchContext() { Link Here
328
328
329
function saveOrClearSimpleSearchParams() {
329
function saveOrClearSimpleSearchParams() {
330
    // Simple masthead search - pass value for display on details page
330
    // Simple masthead search - pass value for display on details page
331
    $.cookie('pulldown_selection', $("#cat-search-block select.advsearch").val() );
331
    $.cookie('cat_search_pulldown_selection', $("#cat-search-block select.advsearch").val() );
332
    $.cookie('searchbox_value', $("#cat-search-block #search-form").val() );
332
    $.cookie('searchbox_value', $("#cat-search-block #search-form").val() );
333
}
333
}
334
- 

Return to bug 23475