[Koha-bugs] [Bug 21959] Batch item modification - ability to apply regular expression on text fields
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Dec 19 16:10:19 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21959
Alex Arnaud <alex.arnaud at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Failed QA |Needs Signoff
--- Comment #4 from Alex Arnaud <alex.arnaud at biblibre.com> ---
(In reply to Pierre-Marc Thibault from comment #2)
> When I use regex on 2 items that have the same value on a field and their
> field changes, it's said that 2 fields have been modified.
>
> Ex : 1) It's a note. 2) It's a note.
> s/note/note2/g
>
> However, if it's not the same value, it's said that 3 fields have been
> modified.
>
> Ex : 1) It's a note. 2) This is a note.
> s/note/note2/g
>
> Can you please check why it happens?
Please try the replacement patch. The code may be quite tricky but it should
work.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list