Koha/t/db_dependent/Acquisition
Jonathan Druart 6eb69ed3ec 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.
2014-04-21 03:48:31 +00:00
..
close_reopen_basket.t Bug 5336: (follow-up) use understandable codes rather than magic numbers for orderstatus 2013-10-22 13:29:23 +00:00
GetBasketsInfosByBookseller.t Bug 11243: UT: unit tests for GetBasketsInfosByBookseller 2014-04-20 15:19:17 +00:00
GetOrdersByBiblionumber.t Bug 10575 : GetOrdersByBiblionumber.t needs a database transaction 2013-07-15 16:20:53 +00:00
Invoices.t Bug 11699: change ModReceiveOrder to used named parameters 2014-04-19 15:08:21 +00:00
OrderFromSubscription.t Bug 11699: change ModReceiveOrder to used named parameters 2014-04-19 15:08:21 +00:00
TransferOrder.t Bug 11552: allow searching on original order number after a transfer 2014-04-21 03:48:31 +00:00