[Koha-bugs] [Bug 12913] wrong inventory results when notforloan filter is not used

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 12 15:45:22 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12913

--- Comment #1 from Fridolin SOMERS <fridolyn.somers at biblibre.com> ---
Created attachment 31553
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31553&action=edit
Bug 12913 - wrong inventory results when notforloan filter is not used

In inventory tool, there is a test on scanned items notforloan value : if the
value is not one of authorized values, the inventory results displays the
problem "Change item status".
The bug is that if notforloan filter is not used, the notforloan values array
is not filled and so all scanned items are marked with this problem.

Test plan :
- Check you have in default framework an item subfield mapped with
items.notforloan and with an authorized value catergory, for example
'NOTFORLOAN'
- Check the authorized value category has at least value '0'
- Create a new value in this category, for example '9'
- Create a biblio with default framework
- Create an item with barcode='000AAA1', callnumber='ZZZAAA1' and notforloan=0
- Create an item with barcode='000AAA2', callnumber='ZZZAAA2' and notforloan=9
- Delete new value created above, for example '9'
- Create a file 'barecodes.txt' containing 2 lines '000AAA1' and '000AAA2'
- Go to inventory tool : /cgi-bin/koha/tools/inventory.pl
- Choose file in 'Barcode file'
- Enter item callnumber between 'ZZZ' and 'ZZZZ'
- Check 'Compare barcodes list to results'
- Submit
=> without patch, you get 2 results with problem 'Change item status' even for
item with notforloan=0
=> with patch, you get 1 result with 'Change item status' on item with
notforloan=9

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


More information about the Koha-bugs mailing list