Bug 21385: Correctly count all items in basket for booksellers list
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 21 Sep 2018 14:10:15 +0000 (15:10 +0100)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 1 Oct 2018 23:57:17 +0000 (23:57 +0000)
commit17db3ab05cb25d08f0790cff9eed5f0f75ca8107
tree7bdd8476da6bb605effe57c4f6817ae9cc56d5aa
parent08386cd3f05c5bc4dc6306e3a1d6c4878cce7c86
Bug 21385: Correctly count all items in basket for booksellers list

To reproduce:

1) Create a basket with 2 biblios, one with 2 items and one with 1 item
2) Search for vendors and note the basket above should contain 'Item
count 3', 'Biblio count 2', 'Items expected 3'
3) Receive shipment, and only receive 1 of the items on the biblio with
2 items above.
4) Search for vendors and note that the 'Item count' for the basket
above is now '2'.

The item count for a closed basket should remain the same and should
differ from the 'items expected' count some items have been recieved.

Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Amended patch:
FAIL   C4/Acquisition.pm
   FAIL   spelling
     RECIEVED  ==> RECEIVED

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Acquisition.pm