[Koha-bugs] [Bug 19069] "Doesn't match" option fails in MARC Modification Templates

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 16 11:21:18 CEST 2017


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

--- Comment #10 from Jon Knight <J.P.Knight at lboro.ac.uk> ---
(In reply to Marcel de Rooy from comment #8)
> (In reply to Jon Knight from comment #3)
> > Is there a reason for having "does not match" and "does not exist"
> > considering there is the choice of "if" or "unless"?  In other words isn't:
> > 
> > "Delete field 999 unless 999$l matches NASH"
> > 
> > equivalent to
> > 
> > "Delete field 999 if 999$l does not match NASH"
> > 
> > ?
> 
> Your question and your example do not match.
> You are not comparing match and exist here.
> Testing for 245a does [not] exist is different from 245a does [not] match
> 'test'.

The example I used was "match"/"does not match", but the same holds true if we
use "exists"/"does not exist" too:

"Delete field 999 unless 999$l exists"

equivalent to

"Delete field 999 if 999$l does not exist"

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


More information about the Koha-bugs mailing list