Lines 82-89
if ($booksellerid) {
Link Here
|
82 |
push @suppliers, Koha::Acquisition::Booksellers->find( $booksellerid ); |
82 |
push @suppliers, Koha::Acquisition::Booksellers->find( $booksellerid ); |
83 |
} else { |
83 |
} else { |
84 |
@suppliers = Koha::Acquisition::Booksellers->search( |
84 |
@suppliers = Koha::Acquisition::Booksellers->search( |
85 |
{ name => { -like => "%$supplier%" } }, |
85 |
[ |
86 |
{ order_by => { -asc => 'name' } } )->as_list; |
86 |
{ name => { -like => "%$supplier%" } }, |
|
|
87 |
{ 'aqbookseller_aliases.alias' => { -like => "%$supplier%" } }, |
88 |
], |
89 |
{ |
90 |
order_by => { -asc => 'name' }, |
91 |
join => 'aqbookseller_aliases', |
92 |
} |
93 |
)->as_list; |
87 |
} |
94 |
} |
88 |
|
95 |
|
89 |
my $supplier_count = @suppliers; |
96 |
my $supplier_count = @suppliers; |
90 |
- |
|
|