Bugzilla – Attachment 129941 Details for
Bug 28782
Get rid of custom query param list creation for request.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28782: Fix link when placing a hold for a patron from patron list
Bug-28782-Fix-link-when-placing-a-hold-for-a-patro.patch (text/plain), 2.09 KB, created by
Jonathan Druart
on 2022-01-28 13:49:18 UTC
(
hide
)
Description:
Bug 28782: Fix link when placing a hold for a patron from patron list
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-01-28 13:49:18 UTC
Size:
2.09 KB
patch
obsolete
>From 39776df17d4ecee5dae4d25ba18113c90e411eb0 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 28 Jan 2022 14:46:38 +0100 >Subject: [PATCH] Bug 28782: Fix link when placing a hold for a patron from > patron list > >--- > .../prog/en/includes/circ-patron-search-results.inc | 8 +++++--- > 1 file changed, 5 insertions(+), 3 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 a69466eb01b..f7ab99ba938 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 >@@ -17,10 +17,12 @@ > <tr class="clickable" data-url="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrower.borrowernumber | html %]"> > <td><a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrower.borrowernumber | uri %]">[% borrower.surname | html %], [% borrower.firstname | html %]</a></td> > [% ELSIF destination == "holds" %] >+ [% SET data_url = "/cgi-bin/koha/reserve/request.pl?borrowernumber=" _ borrower.borrowernumber %] >+ [% FOREACH biblionumber IN biblionumbers %] >+ [% SET data_url = data_url _ "&biblionumber=" _ biblionumber %] >+ [% END %] > [% IF multi_hold %] >- [% SET data_url = "/cgi-bin/koha/reserve/request.pl?borrowernumber=" _ borrower.borrowernumber _ "&multi_hold=1&biblionumbers=" _ biblionumbers %] >- [% ELSE %] >- [% SET data_url = "/cgi-bin/koha/reserve/request.pl?borrowernumber=" _ borrower.borrowernumber _ "&biblionumber=" _ biblionumber %] >+ [% SET data_url = data_url _ "&multi_hold=1" %] > [% END %] > <tr class="clickable" data-url="[% data_url | url %]"> > <td><a href="[% data_url | url %]">[% borrower.surname | html %], [% borrower.firstname | html %]</a></td> >-- >2.25.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 28782
:
123286
|
123287
|
123313
|
124510
|
124521
|
127112
|
127208
|
127209
|
129939
|
129940
|
129941
|
129942
|
130663
|
130664
|
130868
|
130869
|
130870
|
130871
|
130872
|
130873
|
130894
|
130895
|
130938
|
130939
|
130940
|
130941
|
130942
|
130943
|
131349
|
131350
|
131351
|
131352
|
131353
|
131354