Bugzilla – Attachment 130876 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
Nick Clemens (kidclamp)
on 2022-02-18 16:38:17 UTC
(
hide
)
Description:
Bug 29136: (QA follow-up) missing filters
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2022-02-18 16:38:17 UTC
Size:
2.46 KB
patch
obsolete
>From 96ec52c63fe5f1287026fd0bdc6d5b8e3b38e160 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 67dfa4dcb5..e5d7e1c64d 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.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 29136
:
130039
|
130239
|
130245
|
130246
|
130874
|
130875
|
130876
|
131355
|
131356
|
131357