Koha/koha-tmpl/intranet-tmpl/prog/en
David Cook ac6fb12c9a Bug 11473 - Fix log viewer template conditions
This patch adds the 'loopro' key to the 'module' value, so that
conditions are actually triggered in the template logic.

(Note: loopro.CIRCULATION is valid, but I changed it for the sake
of consistency across the different conditions.)

This patch also adds substr checks to the 'info' column when
using the cataloguing module. This will check for 'item' and 'biblio',
so that the appropriate label qualifer can be shown in the log viewer.
If either term is absent, the unqualified number will be shown instead
(this will be the majority of action logs at this point).

_TEST PLAN_

Before applying:

1) Access log viewer from Tools (or wherever really)
2) Look up logs for circulation, patrons, cataloguing, serial,
authorities, etc.
3) Note that the "Object" will always just be a number without qualification.

After applying the patch:

1) Look at those same logs
2) Note that the object number for borrowers will usually be prefaced
by 'member' (notwithstanding FINES which aren't taken into account in
this template yet); new bibs and new items should say 'Item X' or
'Biblio X'. Serials should have a link. Authorities should have a link
and an 'auth' preface.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>

Works as advertised

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-01-17 05:39:25 +00:00
..
css Bug 10987: remove duplicate 'see also' and 'see from' labels from authority search results 2014-01-16 23:07:03 +00:00
data
includes Bug 10987: (follow-up) fix display of authorities containing only one see from or see also lnik 2014-01-16 23:07:09 +00:00
js Bug 11075: 'select all' for export no longer clears renew checkboxes 2013-12-30 15:16:11 +00:00
lib
modules Bug 11473 - Fix log viewer template conditions 2014-01-17 05:39:25 +00:00
xslt
columns.def Bug 7684: multiple fixes for inventory 2013-11-01 00:10:49 +00:00