Bug 11755: ensure that SearchOrders returns booksellerid
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 5 Mar 2014 11:06:47 +0000 (12:06 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 11 Mar 2014 16:18:48 +0000 (16:18 +0000)
commit1e0375e91c71ceb99d255a5789d82b1257f336b4
treeb59b831d1510ef99c195ec1db4c7d4d86ad0416f
parent87330b90f493d6c90168276fc749334f32beee96
Bug 11755: ensure that SearchOrders returns booksellerid

The SearchOrders routine should return the booksellerid and this
patch adds it.

This fixes several problems:

[1] The link to the vendor on the order receive page breadcrumbs
    was broken.
[2] The tax calculation in finishreceive.pl didn't run.
[3] The item booksellerid field never got updated during
    receipt.

Booksellerid was returned before bug 10723.

Quick test plan:
Go on orderreceive.pl and verify that the vendor link is correct.

Followed test plan. Vendor link is now correct.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Acquisition.pm
t/db_dependent/Acquisition.t