]> git.koha-community.org Git - koha.git/commit
Follow-up patch : use the subfield associated with items.barcode
authorFrédérick Capovilla <frederick.capovilla@libeo.com>
Mon, 17 Oct 2011 20:01:29 +0000 (16:01 -0400)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Wed, 16 Nov 2011 13:53:05 +0000 (08:53 -0500)
commitfd5f34d2acfe3725acfcbddcd034ec51cc907353
tree476508f647348388a08024da307fa22e014b7d32
parent0a06936b2a5c0624ddfa9208774101c9bf00006b
Follow-up patch : use the subfield associated with items.barcode

Instead of using the 'p' subfield directly, use the subfield letter
associated with the items.barcode column.

http://bugs.koha-community.org/show_bug.cgi?id=6963
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Test cases tested:
- 1 item, barcode empty
- 2 items, barcodes both empty
- 1 item, existing barcode
- 1 item, new barcode
- 2 items, one barcode empty, one existing

All test cases worked nicely and gave correct error messages.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit 61e1eeee84083f835a85d43128f4b6cbeef636dd)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
acqui/neworderempty.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt