Bug 13916 - NORMARC can have analytics with leader 07 = a, b or p
Summary: NORMARC can have analytics with leader 07 = a, b or p
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: MARC Bibliographic data support (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Magnus Enger
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-26 13:40 UTC by Magnus Enger
Modified: 2019-10-14 19:58 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 13916 - NORMARC can have leader 07 = a, b or p (5.85 KB, patch)
2015-03-27 09:44 UTC, Magnus Enger
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Magnus Enger 2015-03-26 13:40:52 UTC
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)
Comment 1 Magnus Enger 2015-03-27 09:44:24 UTC
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.
Comment 2 Mirko Tietgen 2015-04-13 20:20:06 UTC
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.
Comment 3 Bernardo Gonzalez Kriegel 2015-05-16 17:32:42 UTC
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...
Comment 4 Magnus Enger 2015-05-18 07:22:19 UTC
I'll have to investigate this properly when I can find the time. Thanks for looking!
Comment 5 Owen Leonard 2018-05-29 16:24:07 UTC
NORMARC bugs can now be considered obsolete. See Bug 18984.