From 44e65ad5142ed4a488601bd22224bd86acd48aa6 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 --- C4/Koha.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/C4/Koha.pm b/C4/Koha.pm index 07c80c69ac..d38729aa4b 100644 --- a/C4/Koha.pm +++ b/C4/Koha.pm @@ -687,19 +687,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