[Koha-bugs] [Bug 11242] New: fix opac-MARCdetail.pl bizarre ordering of data and noisy warnings

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 13 13:20:23 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11242

            Bug ID: 11242
           Summary: fix opac-MARCdetail.pl bizarre ordering of data and
                    noisy warnings
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: mtompset at hotmail.com
        QA Contact: testopia at bugs.koha-community.org

If the framework used by an MARC record does not have fields defined which were
imported (e.g. imported 852$9, but BKS does not have that defined), the missing
information generates a '--' as part of the OPAC description in 'MARC view',
but separated from data to be displayed which is defined. This is in part due
to the choice of || 0, instead of calculating the tab based on the tag (e.g.
852 => tab 8).

Additionally, this || 0 part happens in part because of a variable being undef,
which causes some noisiness in the logs. So any undef potentially setting code
related to $sf_def will be made less noisy.

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


More information about the Koha-bugs mailing list