Suppressions : I suppressed some indexes that don't exist in unimarc : 603, 502, 504
Corrections :
- Places : 651 was Marc21 => I put the right value (607)
- Serials : 225a was working, but 410t will work better
- Topics : 600a => 600ab (name/surname) ; 601 => 600abcdef (hierarchical collectivities and meetings) ; 604a => 604at (author/title)
Additions :
- Topics : 608a (form and genre subject), 616a (trademark subject)
- Authors : collective/meeting authors (710abcdef, 711abcdef, 712abcdef), trademark (716a), family (720a, 721a, 722a)

(for 601 and 710-711-712, "abcdef" could be discussed. Maybe too much, but it could be easyly amended afterwards).

To test, take a record with 607, 608, 616, 710, 410, do a research matching this record, and check if facets looks nicer that before...


---
 C4/Koha.pm |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/C4/Koha.pm b/C4/Koha.pm
index 07c80c6..a705a09 100644
--- a/C4/Koha.pm
+++ b/C4/Koha.pm
@@ -687,31 +687,31 @@ sub getFacets {
             {
                 idx   => 'su-to',
                 label => 'Topics',
-                tags  => [ qw/ 600a 601a 602a 603a 604a 605a 606ax 610a/ ],
+ tags => [ qw/ 600ab 601abcdef 602a 604at 605a 606ax 608a 610a 616a / ],
                 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   => ', ',
             },
             {
                 idx   => 'au',
                 label => 'Authors',
-                tags  => [ qw/ 700ab 701ab 702ab / ],
+ tags => [ qw/ 700ab 701ab 702ab 710abcdef 711abcdef 712abcdef 716a 720a 721a 722a / ],
                 sep   => ', ',
             },
             {
                 idx   => 'se',
                 label => 'Series',
-                tags  => [ qw/ 225a / ],
+                tags  => [ qw/ 410t / ],
                 sep   => ', ',
             },
             ];
--
1.7.9.5

--
Mathieu Saby
Service d'Informatique Documentaire
Service Commun de Documentation
Université Rennes 2
Téléphone : 02 99 14 12 65
Courriel : mathieu.s...@univ-rennes2.fr

_______________________________________________
Koha-patches mailing list
Koha-patches@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to