From: Bill Erickson Date: Mon, 6 Jun 2016 21:17:44 +0000 (-0400) Subject: JBAS-1443 Added content uses EAN / Misc. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b1d7ad330ebc3584386d38f5de8b85e5d55b5730;p=working%2FEvergreen.git 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 --- 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' } ] }); }