When a record has leader 07 = 2 and "Show analytics" links are generated, they look like this: http://example.com/cgi-bin/koha/opac-search.pl?q=rcn:832083305+and+(bib-level:a+or+bib-level:b) But NORMARC has three different types of analytics that can be indicated in 07: a - Analytt til ikke-periodisk dokument Posten inneholder en enkelt I-analytt, f.eks. en artikkel i en monografi. b - Serieanalytt Posten inneholder en I-analytt som beskriver en periodisk utgitt del av et verk, f.eks. en fast spalte i et periodikum. p - Analytt til periodikum Posten inneholder en enkelt I-analytt. So the links should look like this: http://example.com/cgi-bin/koha/opac-search.pl?q=rcn:832083305+and+(bib-level:a+or+bib-level:b+or+bib-level:p)
Created attachment 37298 [details] [review] Bug 13916 - NORMARC can have leader 07 = a, b or p When a NORMARC record has leader 07 = s and "Show analytics" links are generated, they look like this: http://example.com/cgi-bin/koha/opac-search.pl?q=rcn:832083305+and+(bib-level:a+or+bib-level:b) But NORMARC has three different types of analytics that can be indicated in 07: a, b and p So the links should look like this: http://example.com/cgi-bin/koha/opac-search.pl?q=rcn:832083305+and+(bib-level:a+or+bib-level:b+or+bib-level:p) To test: - Create two records as described here: http://wiki.koha-community.org/wiki/Analytics - Make sure you have leader position 07 = p - Make sure the records are indexed - Click on the "Show analytics" link from the host to the article record - Verify that the article record is not found - Apply the patch - Click on the "Show analytics" link again - Verify that the article record is now found Or just read the patch and check that it makes sense in light of the fact that NORMARC can have leader position 07 = a, b or p.
I tried to test this and set up a NORMARC instance. Among other things, there is no MARC field 774 in the Norwegian standard framework. I added it with subfields t and w, but when I tried to set up two linked records I found that the 773 subfields in the child record do not save for me. I enter values, save the record and when I open it again, the values are gone. I suppose there is something wrong with the standard framework, it worked fine for the 774 I added in the parent record. I filled every single 773 subfield and after saving found that subfields 7, a-h keep the value, i, k, s, t, w, x, y, z lose it. I stopped investigating at that point.
Same as Mirko, some 773 subfields does not save Only this 773 ## - Vertsdokument (R) 7 Type hovedordningsord i delfelt $a 7 a Hovedordningsord for posten det lenkes til, hvis dette er et personnavn, korporasjonsnavn eller en standardtittel a b Utgave b d Sted, forlag og dato (år) for utgivelse d e Språkkode e f Landekode f g Relasjonsopplysninger (R) g h Materialbetegnelse h NORMARC setup Don't know...
I'll have to investigate this properly when I can find the time. Thanks for looking!
NORMARC bugs can now be considered obsolete. See Bug 18984.