[Koha-bugs] [Bug 20131] Inventory optional filters always shows "For loan" for value 0

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Apr 1 13:28:48 CEST 2018


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

--- Comment #10 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Hm, ok, I might not understand the reasoning behind this patch or even the bug
it tries to fix :(

>From my testing:

6) Create in authorized values category "NFL" a value 0 with description
"Available"
7) Go to inventory /cgi-bin/koha/tools/inventory.pl
8) Without patch you see "For loan" in items.notforloan for value 0
9) With patch you see "Available" in items.notforloan for value 0

When I do that, I end up with 2 values showing on the inventory form: 
For loan and Available - both actually meaning the same.

Also: On the edit item form the Available appears twice(!) in the pull down and
the X to empty the field is no longer present.

What I can see is an inconsistency on the inventory form as we only have a "0"
value for not for loan, while we don't have that for lost, withdrawn and
damaged. I'd suggest to either remove it  or add an empty option for all of
them. But also not using 'for loan' - because it still might not be, but
something like 'not set'. Or: Not lost, not withdrawn, not damaged,...

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


More information about the Koha-bugs mailing list