[Koha-bugs] [Bug 36111] New: 856$h should not appear as a link in detailed record

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 15 22:52:45 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36111

            Bug ID: 36111
           Summary: 856$h should not appear as a link in detailed record
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: MARC Bibliographic data support
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: caroline.cyr-la-rose at inlibro.com
        QA Contact: testopia at bugs.koha-community.org

The newish MARC21 field 856$h is used to store non-functioning urls. However,
if a record has data in 856$h (or any 856 subfield), a link "Click here to
access online" appears in the results list and detailed record in the opac and
the staff interface.

To replicate:
1. Add 856$h to MARC editor
   1.1. Go to Administration > MARC bibliographic frameworks
   1.2. Next to Default framework, click Actions > MARC structure
   1.3. Search for field 856
   1.4. Click Actions > Edit subfields
   1.5. Click h
   1.6. Check the Editor box
   1.7. Click Save changes

2. Catalog a new record with a random URL in 856$h
   2.1. Go to Cataloging
   2.2. Click New record
   2.3. Fill out the mandatory fields (000, 003, 005, 008, 040$c, 245$a, 942$c)
   2.4. Go to tab 8 and enter a value in 856$h
   2.5. Click Save (No need to add an item)

3. Search for the title in the staff interface (a large enough search to have
more than one result)
   --> Notice it says "Online resources: Click here to access online"
   3.1. Try to click the link
        --> Blank page

4. Access the detailed record in the staff interface
   --> Notice it says "Online resources: Click here to access online"
   4.1. Try to click the link
        --> Blank page

5. Search for the title in the opac (a large enough search to have more than
one result)
   --> Notice it says "Online resources: Click here to access online"
   5.1. Try to click the link
        --> Blank page

6. Access the detailed record in the opac
   --> Notice it says "Online resources: Click here to access online"
   6.1. Try to click the link
        --> Blank page

I don't think 856$h should trigger the link to appear. 

I managed to hide it from the OPAC by making 856$h invisible in the OPAC, but
the link is still there in the staff interface and still leads nowhere...

In my opinion, if 856$h is to be displayed, it should only appear in the staff
interface detailed record (not results list or opac), and only be regular text,
not a link, with the mention (non functional).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list