Bug 11477 - Add names for librarian and borrowers in the logs
authorDavid Cook <dcook@prosentient.com.au>
Mon, 6 Jan 2014 04:19:21 +0000 (15:19 +1100)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 17 Jan 2014 06:06:53 +0000 (06:06 +0000)
commit7e7b4c71be1d3a4b2339cda9ef3bbb7618a8964c
treed62edef46c137ccc978bd42f06ad24aeeee88167
parent490e38069c0b9fcf71449d7812a0056b68318c64
Bug 11477 - Add names for librarian and borrowers in the logs

This patch adds the first name and surname of the librarian and the
user involved in a transaction log, if available.

If neither the firstname or the surname is available, then the 'object'
number will be prefaced with the 'Member' qualifier.

_TEST PLAN_

0) This patch depends on Bug 11473, so you must apply it first

Before applying this patch (11477):
1) View the logs.
2) Note that the Librarian column just has a number
3) Note that the Object column will just say Member X (where X is a
number), in the circulation, fines, and patron/member modules.

Apply the patch.

4) Reload the logs (you don't need to make new ones)
5) Note that the Librarian and Object columns mentioned above now
have firstname and surname appearing (where available)

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described, passes all tests and QA script.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt
tools/viewlog.pl