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

            Bug ID: 42920
           Summary: Looking up authority records in Advanced editor
                    appends 20 extra spaces
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Keywords: regression
          Severity: normal
          Priority: P5 - low
         Component: MARC Authority data support
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
        Depends on: 21453
  Target Milestone: ---

The patch for bug 21453 replaced an Advanced editor-specific (in the "[% IF
rancor %]" block) "[%- END -%]‡9[% authid | html %]";" which trims whitespace
with several lines of  "[% ... %]" which do not trim whitespace. The result is
that when you look up an authority from the Advanced editor, you get something
like

‡aBildungsromans.                    ‡9220

with twenty extra spaces before the ‡9.

While we could restore trimming the whitespace, that section of the patch
wasn't needed, and has made things incorrect for anyone who dares to use the
Advanced editor with UNIMARC (probably nobody, since it doesn't do UNIMARC
fixed-field builders): since the Advanced editor is only used for biblio
records, not authority records, it *should* be putting the authid in ‡9 for
both MARC flavors the way it was before, but now it will put it in ‡3, the
right field for auth-to-auth linking but the wrong field for biblio-to-auth
linking. So the right fix is just to revert the changes to the [% IF rancor %]"
block.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21453
[Bug 21453] blinddetail-biblio-search.pl/.tt use hardcoded subfield values for
MARC21
-- 
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