| Summary: | add the possibility to filter order by parent_ordernumber in receipt | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Koha Team University Lyon 3 <koha> | 
| Component: | Acquisitions | Assignee: | Bugs List <koha-bugs> | 
| Status: | RESOLVED DUPLICATE | QA Contact: | Testopia <testopia> | 
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | jonathan.druart, koha | 
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Crowdfunding goal: | 0 | 
| 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 | ||
| 
 
        
          Description
        
        
          Koha Team University Lyon 3
        
        
        
        
          2014-01-09 11:45:58 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 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.
    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.  |