Bugzilla – Attachment 113784 Details for
Bug 23475
Search context is lost when simple search leads to a single record
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23475: (follow-up) Fix selectors and stray use statements
Bug-23475-follow-up-Fix-selectors-and-stray-use-st.patch (text/plain), 1.87 KB, created by
Nick Clemens (kidclamp)
on 2020-11-18 13:55:34 UTC
(
hide
)
Description:
Bug 23475: (follow-up) Fix selectors and stray use statements
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2020-11-18 13:55:34 UTC
Size:
1.87 KB
patch
obsolete
>From d2734f139e89c6d52c23f7e88fa35498c673aee5 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 18 Nov 2020 13:53:17 +0000 >Subject: [PATCH] Bug 23475: (follow-up) Fix selectors and stray use statements > >--- > catalogue/detail.pl | 3 --- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 4 ++-- > 2 files changed, 2 insertions(+), 5 deletions(-) > >diff --git a/catalogue/detail.pl b/catalogue/detail.pl >index 893ea41fc0..7b7f4d2944 100755 >--- a/catalogue/detail.pl >+++ b/catalogue/detail.pl >@@ -21,7 +21,6 @@ use Modern::Perl; > use CGI qw ( -utf8 ); > use HTML::Entities; > use Try::Tiny; >-use Encode qw( decode_utf8 ); > use C4::Auth; > use C4::Context; > use C4::Koha; >@@ -52,8 +51,6 @@ use Koha::Virtualshelves; > use Koha::Plugins; > use Koha::SearchEngine::Search; > >-use URI::Escape; >- > my $query = CGI->new(); > > my $analyze = $query->param('analyze'); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index 0b1f261e1b..fc6745156f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -1312,8 +1312,8 @@ Note that permanent location is a code, and location may be an authval. > $(document).ready(function() { > var search_index = localStorage.getItem("cat_search_pulldown_selection"); > var search_value = localStorage.getItem("searchbox_value"); >- if ( search_index ){ $('.advsearch[name="idx"]').val(search_index)}; >- if ( search_value ){ $('#search-form').val(search_value)}; >+ if ( search_index ){ $('#cat-search-block select.advsearch').val(search_index)}; >+ if ( search_value ){ $('#cat-search-block #search-form').val(search_value)}; > }); > </script> > [% END %] >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 23475
:
92357
|
93558
|
93562
|
108124
|
109624
|
111325
|
111338
|
111339
|
111340
|
111798
|
111799
|
111800
|
112697
|
112714
|
112971
|
113744
|
113784
|
113904
|
114055
|
114056