From 849561896f71536439a56496a205ed3cb02fb983 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 18 Feb 2022 16:36:56 +0000 Subject: [PATCH] Bug 29136: (QA follow-up) missing filters Signed-off-by: Nick Clemens Signed-off-by: Fridolin Somers --- 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 9f94f7be89..7ca79df59c 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.39.5