Bug 24780: Make items.stocknumber show up in batch item modification
authorKatrin Fischer <katrin.fischer.83@web.de>
Thu, 24 Sep 2020 21:52:33 +0000 (23:52 +0200)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 20 Oct 2020 14:13:31 +0000 (14:13 +0000)
commit1754df0b1959b2e3514f771e7cd499d13c847a0c
tree3cba332ac2c6736e290b2188ee5b24ff6dbb0249
parentf77e44e3dfc525a6b6c09ab8f1564ff23264657c
Bug 24780: Make items.stocknumber show up in batch item modification

It looks like the field was intentionally removed from the list
of batch editable fields in the past. This makes sense as we
used to have a unique index on it at some point - but we do have
no more.

This removes the exception so that the invendory number behaves
like the other fields on the batch item edit form.

To test:
- Create some items with and without stocknumber
- Go to tools > batch item modification
- Enter the barcodes of your selected items in the list or
  upload a file with them
- Verify that the stocknumber/inventory number is not showing
  in the item edit form below
- Apply patch
- Reload the page - inventory number is there now
- Batch edit the inventory number and verify it works as expected

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 0afcf3936a6ceeb865fdf0159cf54618400847d7)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
tools/batchMod.pl