From b1d7ad330ebc3584386d38f5de8b85e5d55b5730 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 6 Jun 2016 17:17:44 -0400 Subject: [PATCH] JBAS-1443 Added content uses EAN / Misc. Consider values from MARC 024 $a with indicator 1 values of 3 (EAN) or 8 (Misc/Unknown) as valid added content lookup keys. Signed-off-by: Bill Erickson --- Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent.pm index 254d790cf6..e60adfbad4 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent.pm @@ -248,13 +248,14 @@ sub get_rec_keys { '-and' => [ {tag => '024'}, {subfield => 'a'}, - {ind1 => 1} + {ind1 => [1, 3, 8]} ] } ] }, order_by => [ - { class => 'mfr', field => 'id' } + { class => 'mfr', field => 'tag' }, + { class => 'mfr', field => 'ind1' } ] }); } -- 2.11.0