Bugzilla – Attachment 133873 Details for
Bug 27546
Add option to search within results on the staff interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27546: (follow-up) Escape new search string
Bug-27546-follow-up-Escape-new-search-string.patch (text/plain), 1.23 KB, created by
Nick Clemens (kidclamp)
on 2022-04-26 10:57:13 UTC
(
hide
)
Description:
Bug 27546: (follow-up) Escape new search string
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2022-04-26 10:57:13 UTC
Size:
1.23 KB
patch
obsolete
>From efc6e01db5a44caf6653f25e22a8ad04d4cb7be9 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 26 Apr 2022 10:56:52 +0000 >Subject: [PATCH] Bug 27546: (follow-up) Escape new search string > >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >index a2d5c3e566..c1408856c7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >@@ -763,7 +763,7 @@ > e.preventDefault(); > var index = $("#refine_search #idx").val() || ""; > if( index){index += ":";} >- window.location.href = "/cgi-bin/koha/catalogue/search.pl?[% query_cgi | $raw %]&[% limit_cgi | $raw %]&[% sort_cgi | $raw %]&limit="+index+$("#refiner").val(); >+ window.location.href = "/cgi-bin/koha/catalogue/search.pl?[% query_cgi | $raw %]&[% limit_cgi | $raw %]&[% sort_cgi | $raw %]&limit="+index+escape_str( $("#refiner").val() ); > }); > </script> > [% Asset.js("js/pages/results.js") | $raw %] >-- >2.30.2
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 27546
:
115779
|
116533
|
118958
|
119025
|
123817
|
131780
| 133873 |
134729