From 5256f25d24b114a5186a9ed612e845e114bebb7e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Sun, 28 Oct 2018 08:59:51 -0300 Subject: [PATCH] Bug 21703: Fix filter on dataurl variable to allow placing holds in staff again We must not encode & again and use the url filter, instead of uri. To test: - Search for a record in staff - Go to holds - Search for patrons, multiple should be displayed - Pick a patron by clicking on the name - Verify an error is shown and the URL is incorrect - Apply patch - Repeat test above, placing a hold should now work. Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens --- .../intranet-tmpl/prog/en/includes/circ-patron-search-results.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-patron-search-results.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-patron-search-results.inc index dbad05777e..8e8845b461 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-patron-search-results.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-patron-search-results.inc @@ -22,8 +22,8 @@ [% ELSE %] [% SET data_url = "/cgi-bin/koha/reserve/request.pl?borrowernumber=" _ borrower.borrowernumber _ "&biblionumber=" _ biblionumber %] [% END %] - - [% borrower.surname | html %], [% borrower.firstname | html %] + + [% borrower.surname | html %], [% borrower.firstname | html %] [% END %] [% borrower.cardnumber | html %] [% borrower.dateofbirth | $KohaDates %] -- 2.11.4.GIT