@@ -, +, @@
1 - Edit koha-conf.xml and uncomment the zebra debug line and add 'request' to the list
2 - Restart all
3 - tail -f /var/log/koha/kohadev/zebra-output.log
4 - Edit a record to add a 110 field e.g. 'House plants'
5 - Enable syspref IntranetCatalogSearchPulldown
6 - Search for 'Corporate name' and term 'House plants'
7 - No results
8 - View the log, see 'ERROR' and full search terms listed
9 - Apply patch
cp etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml /etc/koha/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml
cp etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl /etc/koha/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl
---
.../marc_defs/marc21/biblios/biblio-koha-indexdefs.xml | 5 +++++
.../marc21/biblios/biblio-zebra-indexdefs.xsl | 10 +++++-----
2 files changed, 10 insertions(+), 5 deletions(-)
--- a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml
+++ a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml
@@ -297,6 +297,7 @@
Name:w
Name-and-title:w
Corporate-name:w
+ Corporate-name:p
@@ -515,6 +516,7 @@
Author:w
Corporate-name:w
+ Corporate-name:p
@@ -679,6 +681,7 @@
Subject:w
Subject:p
Corporate-name:w
+ Corporate-name:p
@@ -917,6 +920,7 @@
Author:w
Author:p
Corporate-name:w
+ Corporate-name:p
Name:w
@@ -1114,6 +1118,7 @@
Author:w
Corporate-name:w
+ Corporate-name:p
Author-name-corporate:w
Name:w
--- a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl
+++ a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl
@@ -1910,7 +1910,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
-
+
@@ -2131,7 +2131,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
-
+
@@ -2274,7 +2274,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
-
+
@@ -2443,7 +2443,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
-
+
@@ -2547,7 +2547,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
-
+
--