[Bug 5541] New: links show title twice if 856$y and 856$3 populated
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5541 Summary: links show title twice if 856$y and 856$3 populated Change sponsored?: --- Product: Koha Version: HEAD Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: Templates AssignedTo: oleonard@myacpl.org ReportedBy: nengard@gmail.com QAContact: koha-bugs@lists.koha-community.org Estimated Hours: 0.0 Created attachment 2905 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=2905 856 in marc When the 856 field has both a subfield 3 and a subfield y the link shows twice in the opac and the text for the link shows twice in the staff client. I guess it should look for a y first and if that's not found then use the 3 - but if that's found stop looking. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5541 --- Comment #1 from Nicole C. Engard <nengard@gmail.com> 2010-12-23 18:35:24 UTC --- Created attachment 2906 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=2906 856 on staff client -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5541 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Templates |MARC Bibliographic data | |support AssignedTo|oleonard@myacpl.org |gmcharlt@gmail.com --- Comment #2 from Owen Leonard <oleonard@myacpl.org> 2010-12-28 19:49:04 UTC --- I'm not sure if this is a template problem or a script problem. Processing of the 856 tag happens in Biblio.pm's GetMarcUrls. GetMarcUrls will pass a "part" variable containing subfield 3 to detail.pl if subfield y exists. Then the template prefixes the output of subfield u with this "part" text. It seems that the link text for subfield u ends up being the same as "part." Clear as mud? I think someone more familiar with the MARC standard should review the logic of all this. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org