Bugzilla – Attachment 125583 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) Tweaks to patron results display
Bug-15812-follow-up-Tweaks-to-patron-results-displ.patch (text/plain), 4.11 KB, created by
Martin Renvoize (ashimema)
on 2021-10-01 09:00:16 UTC
(
hide
)
Description:
Bug 15812: (follow-up) Tweaks to patron results display
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-10-01 09:00:16 UTC
Size:
4.11 KB
patch
obsolete
>From d0009cbf1d36f31deec53a8af47d20e1eda774f8 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Fri, 1 Oct 2021 09:58:08 +0100 >Subject: [PATCH] Bug 15812: (follow-up) Tweaks to patron results display > >Move the button into the actions column and make 'cardnumber' a link to >checkout, with a tooltip. > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > .../prog/en/modules/members/tables/members_results.tt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >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 8f29945cdb..36cb14f9c0 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,9 +16,9 @@ > "<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 %][% 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>", >+ "[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<a href='/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% data.borrowernumber | html %]' title='Checkout'>[% data.cardnumber | html | $To %]</a>[% ELSE %][% data.cardnumber | html | $To %][% END %]", > "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>", >+ "<a href=\"/cgi-bin/koha/members/moremember.pl?borrowernumber=[% data.borrowernumber | html %]\" class=\"patron_preview\" data-borrowernumber=\"[% data.borrowernumber | html %]\" style='white-space:nowrap' title='View'>[% 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": > "[% INCLUDE 'patron-age.inc' patron = data %]", > "dt_category": >@@ -34,7 +34,7 @@ > "dt_borrowernotes": > "[% data.borrowernotes | html_line_break | collapse | $To %]", > "dt_action": >- "<a href='/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% data.borrowernumber | html %]' class='btn btn-default btn-xs'><i class='fa fa-pencil'></i> Edit</a>", >+ "<a href='/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% data.borrowernumber | html %]' class='btn btn-default btn-xs'><i class='fa fa-pencil'></i> Edit</a>[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %] <a class='btn btn-default btn-xs' href='/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% data.borrowernumber | html %]'>Check out</a>[% END %]", > "borrowernumber": > "[% data.borrowernumber | html %]" > }[% UNLESS loop.last %],[% END %] >-- >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