Koha/catalogue
Jonathan Druart 5f80977875 Bug 18403: Use patron-title.inc when hidepatronname is used
There is already a HidePatronName syspref to hide patron's information
on bibliographic
record detail pages and the hold list.

Test plan:
With the HidePatronName enabled, make sure the patron's information are
hidden from
the catalogue and hold list pages. If the logged in user is not allowed
to see the
patron's info, no link and no cardnumber will be displayed
With he HidePatronName disabled, make sure the patron's information are
displayed
if the logged in user is allowed to see the patron's info.

Technical note:
This patch improves the existing patron-title.inc include file to
display patron's
information. Using it everywhere patron's details are displayed will
permit to
homogenise the way they are displayed. The file takes now a patron
object (what
should be, in the future, the only way to use it), that way we can call
the new
method on it to know if patron's information can be shown by the logged
in used.

NOTE: I am not sure this syspref makes sense anymore. Should not we
remove it?

Signed-off-by: Signed-off-by: Jon McGowan <jon.mcgowan@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-02-12 15:41:38 -03:00
..
detail.pl Bug 18403: Use patron-title.inc when hidepatronname is used 2018-02-12 15:41:38 -03:00
export.pl Bug 19995: use Modern::Perl in Catalogue perl scripts 2018-02-05 09:45:47 -03:00
getitem-ajax.pl Bug 17843: Replace C4::Koha::getitemtypeinfo with Koha::ItemTypes 2017-07-05 13:42:21 -03:00
image.pl Bug 19995: use Modern::Perl in Catalogue perl scripts 2018-02-05 09:45:47 -03:00
imageviewer.pl Bug 19995: use Modern::Perl in Catalogue perl scripts 2018-02-05 09:45:47 -03:00
ISBDdetail.pl Bug 19367: $biblio variable redefined in same scope in ISBDdetail 2017-10-09 16:02:54 -03:00
issuehistory.pl Bug 19995: use Modern::Perl in Catalogue perl scripts 2018-02-05 09:45:47 -03:00
itemsearch.pl Bug 18961: Use exact match for select filters on item search 2017-10-20 15:58:21 -03:00
labeledMARCdetail.pl Bug 19995: use Modern::Perl in Catalogue perl scripts 2018-02-05 09:45:47 -03:00
MARCdetail.pl Bug 19995: use Modern::Perl in Catalogue perl scripts 2018-02-05 09:45:47 -03:00
moredetail.pl Bug 18403: Use patron-title.inc when hidepatronname is used 2018-02-12 15:41:38 -03:00
search-history.pl Bug 16593: Do not allow patrons to delete search history of others patrons 2016-06-24 11:47:29 +00:00
search.pl Bug 16735: Use libraries in all subgroups, not just immediate children 2018-02-12 15:41:26 -03:00
showmarc.pl Bug 19995: use Modern::Perl in Catalogue perl scripts 2018-02-05 09:45:47 -03:00
updateitem.pl Bug 19995: use Modern::Perl in Catalogue perl scripts 2018-02-05 09:45:47 -03:00