From 0c900def86ea8c160f1e116bc34a8e4f9a5df2fe Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 5 Mar 2014 12:06:47 +0100 Subject: [PATCH] Bug 11755: SearchOrders does not return booksellerid MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The SearchOrders routine should return the booksellerid. 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 --- C4/Acquisition.pm | 1 + t/db_dependent/Acquisition.t | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm index 8c4bfdc..0c49690 100644 --- a/C4/Acquisition.pm +++ b/C4/Acquisition.pm @@ -1665,6 +1665,7 @@ sub SearchOrders { biblioitems.isbn, biblioitems.biblioitemnumber, aqbasket.authorisedby, + aqbasket.booksellerid, aqbasket.closedate, aqbasket.creationdate, aqbasket.basketname, diff --git a/t/db_dependent/Acquisition.t b/t/db_dependent/Acquisition.t index 87f0f0f..ac17557 100755 --- a/t/db_dependent/Acquisition.t +++ b/t/db_dependent/Acquisition.t @@ -639,6 +639,7 @@ ok( datecancellationprinted budget_id authorisedby + booksellerid ); # note that authorisedby was added to the return of SearchOrder by the @@ -703,7 +704,6 @@ ok( # # Test GetBudgetByOrderNumber # - ok( GetBudgetByOrderNumber( $ordernumbers[0] )->{'budget_id'} eq $budgetid, "GetBudgetByOrderNumber returns expected budget" ); -- 1.7.10.4