@@ -, +, @@
(The DOM indexing config was generated from the GRS-1 record.abs)
- Make sure you have a NORMARC installation
- Set UseControlNumber = Use
- Create a parent record with LDR/07=c. Leave 001 empty.
- In the "Normal" view, do New > New child record and create another record. Do
this twice (so you get a list of hits when you click on the "Show anaytics"
links later on).
- Do the following steps both in the OPAC and the Intranet:
- Search for the parent record in such a way that you can see the record in a
*result list*
- Check that the "Show analytics" link is displayed, and uses the title of the
parent record for linking: ?q=Host-item:
- Clik on the "Show analytics" link and check that you get a result list with
the two child records you created earlier
- Go back to the result list and click on the parent record, so you get the
*detail view*
- Check that the "Show analytics" link is displayed, and uses the title of the
parent record for linking: ?q=Host-item:
- Clik on the "Show analytics" link and check that you get a result list with
the two child records you created earlier
- Search for one or both of the child records in such a way that you can see
the record(s) in a *result list*
- Check that the "In: " link is displayed, and that it
uses the biblionumber of the parent record for linking:
?q=Control-number:
- Click on the "In: " link, and check that the parent
record is displayed
- Go back to the result list and click on the child record, so you get the
*detail view*
- Check that the "In: " link is displayed, and that it
uses the biblionumber of the parent record for linking:
?q=Control-number:
- Click on the "In: " link, and check that the parent
record is displayed
- Now edit the parent record and put it's biblionumber in 001. Repeat the steps
above, and check that everything still works, but that the links are different:
- The "Show analytics" link on the parent record should look like this:
?q=rcn:+and+(bib-level:a+or+bib-level:b)
- The "In: " link on the child records should be the
same as it was earlier
- Now set UseControlNumber = "Don't use" and repeat all of the steps above
- All of the links should still be displayed and work, of course
- The "In: " link on the child records should look
like this: ?q=ti,phr:
- The "Show analytics" link on the parent record should look like this:
?q=Host-item:
- Change LDR/07 to "s" and repeat all of the steps above
- Do all of this both for GRS-1 indexing and for DOM indexing...
---
.../normarc/biblios/biblio-zebra-indexdefs.xml | 132 +++++++++++---------
.../normarc/biblios/biblio-zebra-indexdefs.xsl | 21 ++++
etc/zebradb/marc_defs/normarc/biblios/record.abs | 3 +
.../prog/en/xslt/NORMARCslim2intranetDetail.xsl | 66 ++++++++++
.../prog/en/xslt/NORMARCslim2intranetResults.xsl | 68 +++++++++-
.../prog/en/xslt/NORMARCslimUtils.xsl | 19 +++
.../prog/en/xslt/NORMARCslim2OPACDetail.xsl | 66 ++++++++++
.../prog/en/xslt/NORMARCslim2OPACResults.xsl | 67 ++++++++++
.../opac-tmpl/prog/en/xslt/NORMARCslimUtils.xsl | 19 +++
9 files changed, 400 insertions(+), 61 deletions(-)
--- a/etc/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xml
+++ a/etc/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xml
@@ -665,289 +665,301 @@
Title:w
Title-other-variant:w
-
+
+
+ Host-item:w
+
+
+
+ Host-Item-Number:w
+
+
Host-item:w
-
+
+
+ Record-control-number:w
+
+
Title:w
-
+
Title:w
Title-former:w
Related-periodical:w
-
+
Related-periodical:w
-
+
Name-and-title:w
-
+
Author-title:w
Name-and-title:w
Title:w
Title-series:w
-
+
Koha-Auth-Number:w
-
+
Author:w
Author-name-personal:w
Name:w
Personal-name:w
-
+
Name-and-title:w
-
+
Author-title:w
Name-and-title:w
Title:w
Title-series:w
-
+
Koha-Auth-Number:w
-
+
Author:w
Corporate-name:w
Author-name-corporate:w
Name:w
-
+
Name-and-title:w
-
+
Koha-Auth-Number:w
-
+
Author-title:w
Name-and-title:w
Title:w
Title-series:w
-
+
Author:w
Author-name-corporate:w
Name:w
Conference-name:w
-
+
Koha-Auth-Number:w
-
+
Title:w
Title-series:w
-
+
Local-Number:n
Local-Number:w
Local-Number:s
-
+
biblioitemnumber:n
biblioitemnumber:w
biblioitemnumber:s
-
+
totalissues:n
totalissues:s
-
+
cn-bib-source:w
-
+
cn-bib-sort:n
cn-bib-sort:s
-
+
itemtype:w
-
+
Suppress:w
Suppress:n
-
+
cn-class:w
-
+
cn-item:w
-
+
cn-prefix:w
-
+
cn-suffix:w
-
+
withdrawn:n
withdrawn:w
-
+
lost:w
lost:n
-
+
classification-source:w
-
+
materials-specified:w
-
+
damaged:n
damaged:w
-
+
restricted:n
restricted:w
-
+
cn-sort:n
cn-sort:s
-
+
notforloan:n
notforloan:w
-
+
ccode:w
-
+
itemnumber:n
itemnumber:s
-
+
homebranch:w
-
+
holdingbranch:w
-
+
location:w
-
+
Date-of-acquisition:w
Date-of-acquisition:d
Date-of-acquisition:s
-
+
acqsource:w
-
+
coded-location-qualifier:w
-
+
price:w
-
+
stack:n
stack:w
-
+
issues:n
issues:w
issues:s
-
+
renewals:n
renewals:w
-
+
reserves:n
reserves:w
-
+
Local-classification:w
Local-classification:p
Local-classification:s
-
+
barcode:w
barcode:n
-
+
onloan:n
onloan:w
-
+
datelastseen:w
-
+
datelastborrowed:w
-
+
copynumber:w
-
+
uri:u
-
+
replacementprice:w
-
+
replacementpricedate:w
-
+
itype:w
--- a/etc/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xsl
+++ a/etc/zebradb/marc_defs/normarc/biblios/biblio-zebra-indexdefs.xsl
@@ -616,12 +616,33 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
--- a/etc/zebradb/marc_defs/normarc/biblios/record.abs
+++ a/etc/zebradb/marc_defs/normarc/biblios/record.abs
@@ -244,7 +244,10 @@ melm 730$r Music-key
melm 730$9 Koha-Auth-Number
melm 730 Title,Title-uniform
melm 740 Title,Title-other-variant
+melm 773$a Host-item
+melm 773$9 Host-Item-Number
melm 773$t Host-item
+melm 773$w Record-control-number
melm 780$t Title
melm 780 Title,Title-former,Related-periodical
melm 785 Related-periodical
--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2intranetDetail.xsl
+++ a/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2intranetDetail.xsl
@@ -14,6 +14,7 @@
+
,complete-subfield
@@ -187,6 +188,71 @@
+
+
+ Analytics:
+
+
+
+ /cgi-bin/koha/catalogue/search.pl?q=rcn:+and+(bib-level:a+or+bib-level:b)
+
+
+ /cgi-bin/koha/catalogue/search.pl?q=Host-item:
+
+
+ Show analytics
+
+
+
+
+
+
+
+
+
+
+
+ In:
+
+
+
+
+
+
+
+
+
+
+ at
+
+
+
+
+ /cgi-bin/koha/catalogue/search.pl?q=Control-number:
+
+
+
+
+
+ /cgi-bin/koha/catalogue/detail.pl?biblionumber=
+
+
+
+
+ /cgi-bin/koha/catalogue/search.pl?q=ti,phr:
+
+
+
+
+
+
+
+
+
+
+
+
+
--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2intranetResults.xsl
+++ a/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2intranetResults.xsl
@@ -6,7 +6,7 @@
xmlns:items="http://www.koha-community.org/items"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
exclude-result-prefixes="marc items">
-
+
@@ -16,6 +16,7 @@
+
@@ -382,6 +383,71 @@
+
+
+ Analytics:
+
+
+
+ /cgi-bin/koha/opac-search.pl?q=rcn:+and+(bib-level:a+or+bib-level:b)
+
+
+ /cgi-bin/koha/opac-search.pl?q=Host-item:
+
+
+ Show analytics
+
+
+
+
+
+
+
+
+
+
+
+ In:
+
+
+
+
+
+
+
+
+
+
+ at
+
+
+
+
+ /cgi-bin/koha/catalogue/search.pl?q=Control-number:
+
+
+
+
+
+ /cgi-bin/koha/catalogue/detail.pl?biblionumber=
+
+
+
+
+ /cgi-bin/koha/catalogue/search.pl?q=ti,phr:
+
+
+
+
+
+
+
+
+
+
+
+
+
Materialtype:
--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslimUtils.xsl
+++ a/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslimUtils.xsl
@@ -67,6 +67,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
--- a/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACDetail.xsl
+++ a/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACDetail.xsl
@@ -17,6 +17,7 @@
+
,complete-subfield
@@ -207,6 +208,71 @@
+
+
+ Analytics:
+
+
+
+ /cgi-bin/koha/opac-search.pl?q=rcn:+and+(bib-level:a+or+bib-level:b)
+
+
+ /cgi-bin/koha/opac-search.pl?q=Host-item:
+
+
+ Show analytics
+
+
+
+
+
+
+
+
+
+
+
+ In:
+
+
+
+
+
+
+
+
+
+
+ at
+
+
+
+
+ /cgi-bin/koha/opac-search.pl?q=Control-number:
+
+
+
+
+
+ /cgi-bin/koha/opac-detail.pl?biblionumber=
+
+
+
+
+ /cgi-bin/koha/opac-search.pl?q=ti,phr:
+
+
+
+
+
+
+
+
+
+
+
+
+
--- a/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACResults.xsl
+++ a/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACResults.xsl
@@ -18,6 +18,8 @@
+
+
@@ -372,6 +374,71 @@
+
+
+ Analytics:
+
+
+
+ /cgi-bin/koha/opac-search.pl?q=rcn:+and+(bib-level:a+or+bib-level:b)
+
+
+ /cgi-bin/koha/opac-search.pl?q=Host-item:
+
+
+ Show analytics
+
+
+
+
+
+
+
+
+
+
+
+ In:
+
+
+
+
+
+
+
+
+
+
+ at
+
+
+
+
+ /cgi-bin/koha/opac-search.pl?q=Control-number:
+
+
+
+
+
+ /cgi-bin/koha/opac-detail.pl?biblionumber=
+
+
+
+
+ /cgi-bin/koha/opac-search.pl?q=ti,phr:
+
+
+
+
+
+
+
+
+
+
+
+
+
--- a/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslimUtils.xsl
+++ a/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslimUtils.xsl
@@ -68,6 +68,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
--