Bugzilla – Attachment 81375 Details for
Bug 21703
Placing holds in staff is broken (TT filter)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21703: Fix filter on dataurl variable to allow placing holds in staff again
Bug-21703-Fix-filter-on-dataurl-variable-to-allow-.patch (text/plain), 1.79 KB, created by
Katrin Fischer
on 2018-10-27 21:17:38 UTC
(
hide
)
Description:
Bug 21703: Fix filter on dataurl variable to allow placing holds in staff again
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2018-10-27 21:17:38 UTC
Size:
1.79 KB
patch
obsolete
>From ab6fec3bb32e022ff30c9dbfc3dd357904da9053 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >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 %] > <tr class="clickable" data-url="[% data_url | html %]"> >- <td><a href="[% data_url | uri %]">[% borrower.surname | html %], [% borrower.firstname | html %]</a></td> >+ <td><a href="[% data_url | $raw %]">[% borrower.surname | html %], [% borrower.firstname | html %]</a></td> > [% END %] > <td>[% borrower.cardnumber | html %]</td> > <td>[% borrower.dateofbirth | $KohaDates %]</td> >-- >2.17.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 21703
:
81375
|
81402
|
81404