From ab6fec3bb32e022ff30c9dbfc3dd357904da9053 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 27 Oct 2018 23:14:37 +0200 Subject: [PATCH] Bug 21703: Fix filter on dataurl variable to allow placing holds in staff again The uri filter breaks the dataurl variable in the template and the URL is incorrect with it. 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. https://bugs.koha-community.org/show_bug.cgi?id=21413 --- .../prog/en/includes/circ-patron-search-results.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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..20059a4542 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 @@ -23,7 +23,7 @@ [% 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.17.1