Bug 5652: display subtitles on patron checkout and holds summary
authorMarc Veron <veron@veron.ch>
Sun, 16 Jun 2013 20:02:45 +0000 (22:02 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 28 Aug 2013 15:20:55 +0000 (12:20 -0300)
commitac5d43319c5e9fe7aa02b9b16057baee16288bbe
treea9bc54c7c61785a2eebdfcc41c79eaef670a3f07
parent561c436e933e6c1305808f13afd9cabf95e81e8e
Bug 5652: display subtitles on patron checkout and holds summary

This patch adds subtitles (from Keyword to MARC mapping) to the
following tables on the checkout page:

- Checkouts
- Previous checkouts
- Relative's checkouts
- Relative's previous checkouts
- Holds

Additionally it suppresses the appearence of the superfluous word "by"
in cases where the biblio has no author.

Test scenario:
--------------
1)
Make sure that you have one or more fields mapped to subtitle in:
Home . Administration . Keyword to MARC mapping
(e.g. 245 b)

2)
Test the checkout page with patrons having
- current checkouts (today)
- previous checkouts
- relatives (e.g. kids) with current /previous checkouts
- holds on items
- holds on biblios

...with items having:
- title, subtitle, author
- title,  no subtitle, author
- title,  subtitle, no author
- title, no subtitle, no author

3)
Do the same on patron's detail page

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
All tests pass

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 976561a384e42570c8960f566bc88606ab6f87b1)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
circ/circulation.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt
members/moremember.pl