[Koha-bugs] [Bug 22279] New: Unify patron name display
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Feb 6 08:25:14 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22279
Bug ID: 22279
Summary: Unify patron name display
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Templates
Assignee: oleonard at myacpl.org
Reporter: pasi.kallinen at koha-suomi.fi
QA Contact: testopia at bugs.koha-community.org
Target Milestone: ---
The way patron's name is displayed should be unified into a single place.
There's template code in patron-title.inc for it, but it's not used in enough
places. Using that would make the patron name display consistent, and if change
is needed (eg. for GDPR), it would be easy to change.
For example:
koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc:
<li><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber |
uri %]&findborrower=[% holdfor_cardnumber | uri %]">Place hold for [%
holdfor_firstname | html %] [% holdfor_surname | html %] ([% holdfor_cardnumber
| html %])</a></li>
koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc:
.append( "<a>" + item.surname + ", " + item.firstname + " (" + item.cardnumber
+ ") <small>" + item.dateofbirth + " " + item.address + " " + item.city + " " +
item.zipcode + " " + item.country + "</small></a>" )
koha-tmpl/intranet-tmpl/prog/en/includes/circ-patron-search-results.inc:
<td><a href="[% data_url | url %]">[% borrower.surname | html %],
[% borrower.firstname | html %]</a></td>
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt:
<title>Summary for [% patron.firstname | html %] [% patron.surname | html %]
([% patron.cardnumber | html %])</title>
koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt: <a
href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% patron.borrowernumber |
uri %]">Pay fines for [% patron.firstname | html %] [% patron.surname | html
%]</a> ›
and many, many more.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list