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@lists.koha-community.org
          Reporter: caroline.cyr-la-r...@inlibro.com
        QA Contact: testo...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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