Bug 14142 - Holds queue viewer only displays first subtitle from marc keyword mappings
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 4 May 2015 16:50:28 +0000 (12:50 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 4 Jun 2015 14:14:58 +0000 (11:14 -0300)
commitd76c9f4850c9ba7605f2c405838f973c70a70b61
tree5d73a2d28556c4d5db58c06784133171fd0811f4
parent3cd086b6b6be08d902a479f302ccf18e55de911b
Bug 14142 - Holds queue viewer only displays first subtitle from marc keyword mappings

Despite the point of the Keyword to MARC Mappings being to simplify the
handling and display of repeated values from multiple subfields, the
holds queue viewer will only display the first value found. What it
should be doing instead is displaying all fields that match the subtitle
keyword.

Test Plan:
1) Apply this patch
2) Define multiple Keyword to MARC mappings for the subtitle keyword
3) Place a hold on a record using those subtitle fields
4) View the hold in the holds queue viewer
5) Note that all the subtitles now appear

Signed-off-by:Heather Braum <hbraum@nekls.org>

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/HoldsQueue.pm
koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt