From 65e11786685745eeae0b34a4517c0ef1216f8b27 Mon Sep 17 00:00:00 2001
From: Fridolin Somers <fridolin.somers@biblibre.com>
Date: Fri, 22 Nov 2019 15:16:51 +0100
Subject: [PATCH] Bug 15142: Remove titles facet for UNIMARC
There is a facet using 500$a, 501$a and 503$a and Subject index.
In UNIMARC 500$a, 501$a and 503$a are not indexed as Subject.
I propose to remove this facet for UNIMARC, looks like it does not make
sens.
Test plan:
1) Install UNIMARC database
2) Edit some records to have 500$a
3) Perform a search to find those records
4) Check you dont see the titles facet
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
---
C4/Koha.pm | 6 ------
1 file changed, 6 deletions(-)
diff --git a/C4/Koha.pm b/C4/Koha.pm
index dd0a165a58..542ea4876a 100644
--- a/C4/Koha.pm
+++ b/C4/Koha.pm
@@ -373,12 +373,6 @@ sub getFacets {
tags => [ qw/ 607a / ],
sep => ' - ',
},
- {
- idx => 'su-ut',
- label => 'Titles',
- tags => [ qw/ 500a 501a 503a / ],
- sep => ', ',
- },
{
idx => 'au',
label => 'Authors',
--
2.17.1