| Summary: | Display problem in 505$a field | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Holly <hc> | 
| Component: | Cataloging | Assignee: | Bugs List <koha-bugs> | 
| Status: | NEW --- | QA Contact: | Testopia <testopia> | 
| Severity: | minor | ||
| Priority: | P5 - low | CC: | amy, fridolin.somers, m.de.rooy | 
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | 
            https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29604 https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29455  | 
      ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Crowdfunding goal: | 0 | 
| Patch complexity: | --- | Documentation contact: | |
| Documentation submission: | Text to go in the release notes: | ||
| Version(s) released in: | Circulation function: | ||
| Bug Depends on: | 19616 | ||
| Bug Blocks: | |||
| Attachments: | 
              Appearance of arrows in 505 field
               MARC MARC record  | 
      ||
Hi Holly, we changed it up a bit to display more subfields. Can you share the MARC that creates this display please? Created attachment 122844 [details]
MARC
Here is the MARC
    (In reply to Holly from comment #2) > Here is the MARC What we need for proper testing is a copy of the MARC record itself. You can get a copy from the bibliographic detail page using the toolbar button Save -> MARC (Unicode/UTF-8). Created attachment 122845 [details]
MARC record
This should be what you need.
    Confirming the problem, a bit puzzled at my own changes on bug 28703. Will try to come up with a fix. Hm, it might just need changing the "after" to "before" here:
-    .r {
-        display: inline;
+    .newline::after {
+        content: "\A → ";
+        white-space: pre;
     }
    According to the most recent MARC rules at LOC - https://www.loc.gov/marc/bibliographic/bd505.html Two hyphens are the appropriate way to separate these fields. Thanks everyone! (In reply to Amy Schapiro from comment #7) > According to the most recent MARC rules at LOC - > https://www.loc.gov/marc/bibliographic/bd505.html > Two hyphens are the appropriate way to separate these fields. > Thanks everyone! Hi Amy, that's correct and it is what happens in the XSLT in current versions now. There is an issue where an extra -> (used at the beginning of the line, but you could change it to something else) appears at the end of the list. (In reply to Fridolin Somers from comment #9) > Duplicate of Bug 29604? No, totally different thing. This is about showing an extra --> that has no content after. A librarian found this bug. The record has an only 505 : <datafield tag="505" ind1="0" ind2=" "> <subfield code="a"> Introduction: the audio media revolution -- Splatters of shit: story, science and digital speech on radiolab -- You are not alone: podcast communities, audiences, and welcome to night vale -- In bed with radiotopians: podcast intimacy, empathy and narrative -- Don't look back: the new possibilities of podcast drama -- A utopian moment: podium.me, diversity and youth podcasting -- Blood culture: gaming the podcast system -- The truth about serial: it's not really about a murder -- The lucky strike: success, value and independence in the golden age of podcasting. </subfield> </datafield>  | 
Created attachment 122798 [details] Appearance of arrows in 505 field Content in the 505$ a field (Formatted contents note) is displaying arrows at the beginning and end of the content. This was not appearing on the 19.11 release of Koha.