]> git.koha-community.org Git - koha.git/commit
Bug 11552: allow searching on original order number after a transfer
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 14 Jan 2014 12:33:58 +0000 (13:33 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 21 Apr 2014 03:48:31 +0000 (03:48 +0000)
commit6eb69ed3ec7650b6298968c4a79e2cb4204ebb6f
tree46c71969b0c2ddaa728b9fec213fca7749cd3c71
parent224eab822d691aeb8f95e39143a830cbafc81eb4
Bug 11552: allow searching on original order number after a transfer

If an order is transferred from one basket to another, it should be
possible to retrieve it with the original order number (AKA order
line).  This patch makes it so.

Test plan:
- transfer an order
- note the original order number and the new one
- receive the order and, on the parcel page, try to find your order with
  the original order number and the new one.

Signed-off-by: sonia bouis <sonia.bouis@univ-lyon3.fr>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
RM note: this works only for the most recent transfer, so if an order
gets transferred multiple times, earlier order numbers won't retrieve
it.
C4/Acquisition.pm
t/db_dependent/Acquisition/TransferOrder.t