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

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

Return to bug 23475