]> git.koha-community.org Git - koha.git/commit
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)
committerChris Cormack <chris@bigballofwax.co.nz>
Sun, 7 Jun 2015 08:24:08 +0000 (20:24 +1200)
commitd3cdaea1ecf97f6449be1eb3bdab36115b301d7f
tree02dd909ad2141d8ad4b03584613192e5188fe31f
parentfefb788ff96558f8262d5c5138031f10506f6838
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>
(cherry picked from commit d76c9f4850c9ba7605f2c405838f973c70a70b61)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
C4/HoldsQueue.pm
koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt