[Koha-bugs] [Bug 7680] Create a PatronDefaultView preference to control whether patron links go to circ or patron details

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 8 18:39:11 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7680

--- Comment #2 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 8097
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8097&action=edit
Bug 7680 [REVISED] PatronDefaultView preference to control whether patron links
go to circ or patron details

The new include, patron-default-view.inc, outputs the *opening* half of
the <a> so that individual templates can control whether to show
full name, barcode, both, etc.

Individual templates must often pass the "local" borrowernumber
variable via the INCLUDE if the variable is not called "borrowernumber":

[% INCLUDE 'patron-default-view.inc' borrowernumber = ITEM_DAT.borrowernumber
%]

Revision: First patch didn't have the new include file.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list