[Koha-bugs] [Bug 30801] New: OPAC and staff interface show 856 as link even if there is no $u (MARC21)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 18 17:11:25 CEST 2022


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

            Bug ID: 30801
           Summary: OPAC and staff interface show 856 as link even if
                    there is no $u (MARC21)
 Change sponsored?: ---
           Product: Koha
           Version: master
          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

Hi everyone,

If any 856 subfield is filled, the OPAC and staff interface show that
information as a link (blue text, clickable, etc.) and uses the content of $u
as the href. Which is OK. 

However, if there is no $u, the other subfields still appear as links.

Cases where the electronic resource is a file that is not online would not have
a $u.

I'm no cataloging expert, but I think only $u and $y (and maybe $a/$d/$f but
I'm not knowledgable enough about those subfields to say for sure) should
appear as a link and the rest should be regular text.

Test plan:
1- Create a record
2- Fill in the required fields
3- In 856, fill in $3 with 'In-library access only'
4- Save
5- Click on 'Normal' to view the record
   Note that the text from 856$3 is a link, if you try clicking on it, nothing
happens
6- Click on the OPAC view link
   Note that the text from 856$3 is a link, if you try clicking on it, nothing
happens

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


More information about the Koha-bugs mailing list