[Koha-bugs] [Bug 28231] New: MARC modification template "1st" vs "Every" bug?

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 26 22:07:54 CEST 2021


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

            Bug ID: 28231
           Summary: MARC modification template "1st" vs "Every" bug?
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Tools
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: caroline.cyr-la-rose at inlibro.com
        QA Contact: testopia at bugs.koha-community.org

Created attachment 120184
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120184&action=edit
MARC authority record with two 151$x

Hi all,

I think this is a bug, if someone could confirm, I would appreciate it!

In MARC modification templates, we have the option of choosing to modify the
first or every field specified. But when trying to delete only the first
occurrence of a subfield, it deletes every subfield anyway.

To test:
1) Create an authority record with two 151$x, one containing [BLANK] and the
other containing real information (I've attached my authority record if you
want to simply import it)
2) Go to Tools > MARC modification templates
3) Create a new template
4) Add the following action
Delete 1st field(s) 151 x
if field 151 x matches [BLANK]
5) Go to Tools > Batch record modification
6) Fill in the form
Record type: Authorities
Enter a list of record numbers: enter the authid of your authority record
Modify record using the following template: Template created previously
7) Click Continue
8) Click "Show MARC"

Both 151$x are deleted, rather than just the first one

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


More information about the Koha-bugs mailing list