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

--- Comment #4 from Katrin Fischer <[email protected]> ---
Adding the step by step test plan here from bug 41726:

To test:
* Create a new location by adding a new entry to the LOC authorised value
category (so it's not used otherwise)
* Add 2 items to a record
  Item A: has the location with the new value
  Item B: has no location
  Note the title of your record
* Search using the item search:
  Title: your title (don't forget to truncate with %)
  Verify your 2 items are found
* Amend the search and add to the search criteria:
  Location is not <your new location>
* Verify that you get NO results.
  Expected behavior: The item with no location should be found

In SQL we can see the difference:
select * from items where location != "something";

Results including NULL/empty locations:
select * from items where location != "something" OR location is NULL;

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
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