View | Details | Raw Unified | Return to bug 11755
Collapse All | Expand All

(-)a/C4/Acquisition.pm (+1 lines)
Lines 1675-1680 sub SearchOrders { Link Here
1675
               biblio.*,
1675
               biblio.*,
1676
               biblioitems.isbn,
1676
               biblioitems.isbn,
1677
               biblioitems.biblioitemnumber,
1677
               biblioitems.biblioitemnumber,
1678
               aqbasket.booksellerid,
1678
               aqbasket.closedate,
1679
               aqbasket.closedate,
1679
               aqbasket.creationdate,
1680
               aqbasket.creationdate,
1680
               aqbasket.basketname,
1681
               aqbasket.basketname,
(-)a/t/db_dependent/Acquisition.t (-2 / +3 lines)
Lines 8-14 use POSIX qw(strftime); Link Here
8
8
9
use C4::Bookseller qw( GetBookSellerFromId );
9
use C4::Bookseller qw( GetBookSellerFromId );
10
10
11
use Test::More tests => 62;
11
use Test::More tests => 63;
12
12
13
BEGIN {
13
BEGIN {
14
    use_ok('C4::Acquisition');
14
    use_ok('C4::Acquisition');
Lines 89-94 is(scalar(@$orders), 3, 'retrieved 3 pending orders'); Link Here
89
89
90
ok( exists( @$orders[0]->{basketgroupid} ), "SearchOrder: The basketgroupid key exists" );
90
ok( exists( @$orders[0]->{basketgroupid} ), "SearchOrder: The basketgroupid key exists" );
91
ok( exists( @$orders[0]->{basketgroupname} ), "SearchOrder: The basketgroupname key exists" );
91
ok( exists( @$orders[0]->{basketgroupname} ), "SearchOrder: The basketgroupname key exists" );
92
# Regression test for bug 11755
93
ok( exists( @$orders[0]->{booksellerid} ), "SearchOrder: The booksellerid key exists" );
92
94
93
ok( GetBudgetByOrderNumber($ordernumber1)->{'budget_id'} eq $budgetid, "GetBudgetByOrderNumber returns expected budget" );
95
ok( GetBudgetByOrderNumber($ordernumber1)->{'budget_id'} eq $budgetid, "GetBudgetByOrderNumber returns expected budget" );
94
96
95
- 

Return to bug 11755