Bugzilla – Attachment 125582 Details for
Bug 15812
Checkout search with too many results (single character search) causes poor performance or timeout
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15812: (follow-up) Add permission check for 'Check out' button
Bug-15812-follow-up-Add-permission-check-for-Check.patch (text/plain), 2.27 KB, created by
Martin Renvoize (ashimema)
on 2021-10-01 09:00:12 UTC
(
hide
)
Description:
Bug 15812: (follow-up) Add permission check for 'Check out' button
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-10-01 09:00:12 UTC
Size:
2.27 KB
patch
obsolete
>From baf7918066c14bb2628417de2eae991606bbfe5b Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 30 Sep 2021 11:31:45 +0000 >Subject: [PATCH] Bug 15812: (follow-up) Add permission check for 'Check out' > button > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > .../prog/en/modules/members/tables/members_results.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt >index 5392572a62..8f29945cdb 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt >@@ -16,7 +16,7 @@ > "<input type='checkbox' id='check[% data.borrowernumber | html %]' class='selection' name='borrowernumber' value='[% data.borrowernumber | html %]' />", > [% END %] > "dt_cardnumber": >- "<label for='check[% data.borrowernumber | html %]'>[% data.cardnumber | html | $To %]</br><a class='btn' href='/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% data.borrowernumber | html %]'>Check out</a></label>", >+ "<label for='check[% data.borrowernumber | html %]'>[% data.cardnumber | html | $To %][% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]</br><a class='btn' href='/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% data.borrowernumber | html %]'>Check out</a>[% END %]</label>", > "dt_name": > "<a href=\"/cgi-bin/koha/members/moremember.pl?borrowernumber=[% data.borrowernumber | html %]\" class=\"patron_preview\" data-borrowernumber=\"[% data.borrowernumber | html %]\" style='white-space:nowrap'>[% INCLUDE 'patron-title.inc' borrowernumber = data.borrowernumber category_type = data.category_type firstname = data.firstname surname = data.surname othernames = data.othernames invert_name = 1 | $To %]</a><br /><div class='address'><ul>[%~ INCLUDE 'display-address-style' patron=data no_line_break=1 | $To ~%][% IF data.email %]<li>Email: <a href='mailto:[% data.email | html | $To %]'>[% data.email | html | $To %]</a></li>[% END %]</ul></div>", > "dt_dateofbirth": >-- >2.20.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 15812
:
125224
|
125234
|
125413
|
125489
|
125490
|
125580
|
125582
|
125583
|
125597
|
125604
|
125621
|
125622
|
125623
|
125624
|
125957
|
125958
|
125959
|
125960