Bugzilla – Attachment 131357 Details for
Bug 29136
Patron search on request.pl has performance and display issues
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29136: (QA follow-up) missing filters
Bug-29136-QA-follow-up-missing-filters.patch (text/plain), 2.46 KB, created by
Jonathan Druart
on 2022-03-03 19:33:26 UTC
(
hide
)
Description:
Bug 29136: (QA follow-up) missing filters
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-03-03 19:33:26 UTC
Size:
2.46 KB
patch
obsolete
>From 067ef02f604fe67fbe6b224a2abc9a15a71c3aa4 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 18 Feb 2022 16:36:56 +0000 >Subject: [PATCH] Bug 29136: (QA follow-up) missing filters > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >index 9f94f7be89b..7ca79df59cb 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >@@ -1571,7 +1571,7 @@ > }); > > [% FOREACH biblionumber IN biblionumbers %] >- [% SET url_biblio_params = url_biblio_params _ "&biblionumber=" _ biblionumber %] >+ [% SET url_biblio_params = url_biblio_params _ "&biblionumber=" _ biblionumber | uri %] > [% END %] > [% IF multi_hold %] > [% SET url_biblio_params = url_biblio_params _ "&multi_hold=1" %] >@@ -1600,7 +1600,7 @@ > // redirect if there is only 1 result. > if ( json.iTotalDisplayRecords == 1 ) { > var borrowernumber = json.aaData[0].borrowernumber; >- document.location.href = '/cgi-bin/koha/reserve/request.pl?borrowernumber=' + borrowernumber + "[% url_biblio_params %]" >+ document.location.href = '/cgi-bin/koha/reserve/request.pl?borrowernumber=' + borrowernumber + "[% url_biblio_params | $raw %]" > return false; > } > fnCallback(json); >@@ -1610,7 +1610,7 @@ > 'fnDrawCallback': function (oSettings) { > var data = this.fnGetData(); > $.each($(this).find("tbody tr"), function(index, tr) { >- let url = '/cgi-bin/koha/reserve/request.pl?borrowernumber=' + data[index].borrowernumber + "[% url_biblio_params %]" >+ let url = '/cgi-bin/koha/reserve/request.pl?borrowernumber=' + data[index].borrowernumber + "[% url_biblio_params | $raw %]" > $(tr).off('click').on('click', function() { > document.location.href = url; > }).addClass('clickable'); >-- >2.25.1
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 29136
:
130039
|
130239
|
130245
|
130246
|
130874
|
130875
|
130876
|
131355
|
131356
| 131357