diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm index 7d493c9280..6446a07267 100644 --- a/C4/Acquisition.pm +++ b/C4/Acquisition.pm @@ -1668,6 +1668,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 e78b39cdbc..185b7ac526 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 @@ -712,7 +713,6 @@ is( scalar (@$search_orders), 0, "SearchOrders with pending and ordered params g # # Test GetBudgetByOrderNumber # - ok( GetBudgetByOrderNumber( $ordernumbers[0] )->{'budget_id'} eq $budgetid, "GetBudgetByOrderNumber returns expected budget" );