[Koha-bugs] [Bug 20888] Allow use of boolean operator 'not' in item search

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 21 08:07:32 CET 2020


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA

--- Comment #26 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Hi Matts, have been testing:

+        <select name="op" class="form-field-not">
+           <option value="like">is</option>
+            [% IF params.op == 'not like' %]
+               <option value="not like" selected="selected">is not</option>
+            [% ELSE %]
+               <option value="not like">is not</option>
+            [% END 

IF = not like... else = not like?

I tested with a custom item search option for "Withdrawn" linked to the
WITHDRAWN authorised value. If I pick "is not" Withdrawn I get the only
withdrawn item. If I pick 'is' withdrawn... I get all the other items. It works
ok on master for the 'is' case.

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


More information about the Koha-bugs mailing list