Bugzilla – Attachment 98983 Details for
Bug 24514
Holds Awaiting Pickup sorting by title before surname
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24514: Add option to exclude title from patron-title.inc
Bug-24514-Add-option-to-exclude-title-from-patron-.patch (text/plain), 2.39 KB, created by
ByWater Sandboxes
on 2020-02-14 17:09:17 UTC
(
hide
)
Description:
Bug 24514: Add option to exclude title from patron-title.inc
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2020-02-14 17:09:17 UTC
Size:
2.39 KB
patch
obsolete
>From 98686ef5a95bb96140e0722ac2f4e42a859e3077 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 24 Jan 2020 17:33:48 +0000 >Subject: [PATCH] Bug 24514: Add option to exclude title from patron-title.inc > >Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com> > >Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc | 1 + > koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc | 2 +- > 2 files changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc >index 7c280f57e8..d5dcd7d0f0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-title.inc >@@ -28,6 +28,7 @@ > [%- SET data.title = title -%] > [%- END -%] > [%# Parameter no_html - if 1, the html tags are NOT generated %] >+[%- IF no_title %][% SET data.title = "" %][% END -%] > [%- IF data.title %] > [%- IF no_html %] > [%- span_start = '' %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc >index 3ec275f7fb..e445ace165 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/waiting_holds.inc >@@ -30,7 +30,7 @@ > [% END %] > <br />Barcode: [% reserveloo.item.barcode | html %] > </td> >- <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% reserveloo.borrower.borrowernumber | uri %]">[% INCLUDE 'patron-title.inc' patron=reserveloo.borrower invert_name=1 %]</a> >+ <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% reserveloo.borrower.borrowernumber | uri %]">[% INCLUDE 'patron-title.inc' patron=reserveloo.borrower invert_name=1 no_title=1 %]</a> > [% IF ( reserveloo.borrower.phone ) %]<br /><span class="patron_phone">[% reserveloo.borrower.phone | html %]</span>[% END %] > [% IF ( reserveloo.borrower.first_valid_email_address ) %] > <span class="patron_email"><br /><a href="mailto:[% reserveloo.borrower.first_valid_email_address | uri %]?subject=[% "Hold waiting: " | uri %][% reserveloo.biblio.title | uri %]"> >-- >2.11.0
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 24514
:
97891
|
98982
|
98983
|
99134