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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to