Bug 11507 - add the possibility to filter order by parent_ordernumber in receipt
Summary: add the possibility to filter order by parent_ordernumber in receipt
Status: RESOLVED DUPLICATE of bug 11552
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-09 11:45 UTC by Koha Team University Lyon 3
Modified: 2014-01-14 13:23 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 11507 - add the possibility to filter order by parent_ordernumber in receipt After a transfer of order in a new basket, the ordernumber is changing. Sometimes, we keep a track the old ordernumber so it can be usefull to be able to retrieve the order b (1.41 KB, patch)
2014-01-09 14:45 UTC, Koha Team University Lyon 3
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Koha Team University Lyon 3 2014-01-09 11:45:58 UTC
After a transfer of order in a new basket, the ordernumber is changing. Sometimes, we keep a track the old ordernumber so it can be usefull to be able to retrieve the order by the old ordernumber.
This patch add the possibility, when receiving shipment, to enter the old ordernumber and to retrieve the order.

Test plan :
- choose an order and notes its ordernumber
- transfer it to a new a basket and notes the new ordernumber
_ in receipt page, in the filter box, enter the older ordernumber or the new ordernumber: you can find the order
Comment 1 Koha Team University Lyon 3 2014-01-09 14:45:10 UTC
Created attachment 24092 [details] [review]
Bug 11507 - add the possibility to filter order by parent_ordernumber in receipt After a transfer of order in a new basket, the ordernumber is changing. Sometimes, we keep a track the old ordernumber so it can be usefull to be able to retrieve the order b

Test plan :
- choose an order and notes its ordernumber
- transfer it to a new a basket and notes the new ordernumber
_ in receipt page, in the filter box, enter the older ordernumber or the new ordernumber: you can find the order
Comment 2 Jonathan Druart 2014-01-09 15:21:08 UTC
Hello,

I am something like that in my patches queue.
The way you do that will work but will certainly introduce side effect.
For ex. in acqui/orderreceive.pl: 
  $results = SearchOrders({
    ordernumber => $ordernumber
  }) if $ordernumber;

The search on the parent ordernumber has to be done explicitly.

Marked as Failed QA.
Comment 3 Jonathan Druart 2014-01-09 15:26:45 UTC
You can have a look at the Matthias's work in the BibLibre repository:

http://git.biblibre.com/?p=kohac;a=shortlog;h=refs/heads/paris-sud/ft/MT13320

See the 3 patches on top (Marked MT13320). It is not validated in our side for the moment, so I don't submit a patch.
Comment 4 Jonathan Druart 2014-01-14 13:23:05 UTC
Have a look at bug 11549 and bug 11552, they should fix your issue.

*** This bug has been marked as a duplicate of bug 11552 ***