From 82fc340e73b8b7fb9185cb9cd4e94c6f42f1312b Mon Sep 17 00:00:00 2001 From: Mathieu Saby Date: Tue, 23 Oct 2012 22:09:31 +0200 Subject: [PATCH] Bug 8958: Make facets more UNIMARC compliant (revision 1) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Suppressions : I suppressed some indexes not existing in Unimarc : 603, 502, 504 Corrections : - Places : 651 was Marc21 => I put the right value (607) - Topics : 600a => 600ab (name/surname) ; 604a => 604at (author/title) To test, take a record with 607, 600ab, 601ab, 604at, do a research matching this record, and check if facets looks nicer that before... Signed-off-by: Frédéric Demians Works as described. 607 for Places is very useful! Other tweakings make sense. Signed-off-by: Paul Poulain Signed-off-by: Chris Cormack --- C4/Koha.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/C4/Koha.pm b/C4/Koha.pm index 280f88f221..c559a43fda 100644 --- a/C4/Koha.pm +++ b/C4/Koha.pm @@ -680,19 +680,19 @@ sub getFacets { { idx => 'su-to', label => 'Topics', - tags => [ qw/ 600a 601a 602a 603a 604a 605a 606ax 610a/ ], + tags => [ qw/ 600ab 601ab 602a 604at 605a 606ax 610a / ], sep => ' - ', }, { idx => 'su-geo', label => 'Places', - tags => [ qw/ 651a / ], + tags => [ qw/ 607a / ], sep => ' - ', }, { idx => 'su-ut', label => 'Titles', - tags => [ qw/ 500a 501a 502a 503a 504a / ], + tags => [ qw/ 500a 501a 503a / ], sep => ', ', }, { -- 2.39.5