[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
Sat Mar 10 23:22:08 CET 2012


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

Jared Camins-Esakov <jcamins at cpbibliography.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #8097|0                           |1
        is obsolete|                            |

--- Comment #4 from Jared Camins-Esakov <jcamins at cpbibliography.com> ---
Created attachment 8151
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8151&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.
Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>

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


More information about the Koha-bugs mailing list