]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 13 Aug 2014 12:11:37 +0000 (14:11 +0200)
commit3532ea7b170dbb394bc6ad24af34d48e661b3206
tree601effdb31baf811e46f5b478b3a7272c6b2feab
parent8a2d935e4e69c0ad19257ac845260451aa995a6e
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.

(cherry picked from commit 6eb69ed3ec7650b6298968c4a79e2cb4204ebb6f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Acquisition.pm
t/db_dependent/Acquisition/TransferOrder.t