Lines 357-363
subtest 'SearchItems test' => sub {
Link Here
|
357 |
t::lib::Mocks::mock_preference('marcflavour', 'MARC21'); |
357 |
t::lib::Mocks::mock_preference('marcflavour', 'MARC21'); |
358 |
my $cpl_items_before = SearchItemsByField( 'homebranch', $library1->{branchcode}); |
358 |
my $cpl_items_before = SearchItemsByField( 'homebranch', $library1->{branchcode}); |
359 |
|
359 |
|
360 |
my $biblio = $builder->gimme_a_biblio(); |
360 |
my $biblio = $builder->gimme_a_biblio({ title => 'Silence in the library' }); |
|
|
361 |
$builder->gimme_a_biblio({ title => 'Silence in the shadow' }); |
361 |
|
362 |
|
362 |
my (undef, $initial_items_count) = SearchItems(undef, {rows => 1}); |
363 |
my (undef, $initial_items_count) = SearchItems(undef, {rows => 1}); |
363 |
|
364 |
|
364 |
- |
|
|