|
Lines 47-53
$cache->clear_from_cache("MarcSubfieldStructure-$frameworkcode");
Link Here
|
| 47 |
my $record = MARC::Record->new(); |
47 |
my $record = MARC::Record->new(); |
| 48 |
$record->append_fields( |
48 |
$record->append_fields( |
| 49 |
MARC::Field->new( '100', ' ', ' ', a => 'Moffat, Steven' ), |
49 |
MARC::Field->new( '100', ' ', ' ', a => 'Moffat, Steven' ), |
| 50 |
MARC::Field->new( '245', ' ', ' ', a => 'Silence in the library', h => 'Book' ), |
50 |
MARC::Field->new( '245', ' ', ' ', a => 'Silence in the library' ), |
|
|
51 |
MARC::Field->new( '260', ' ', ' ', c => '1999' ), |
| 51 |
MARC::Field->new( '942', ' ', ' ', c => 'ITEMTYPE_T' ), |
52 |
MARC::Field->new( '942', ' ', ' ', c => 'ITEMTYPE_T' ), |
| 52 |
); |
53 |
); |
| 53 |
my ($biblionumber, undef) = C4::Biblio::AddBiblio($record, $frameworkcode); |
54 |
my ($biblionumber, undef) = C4::Biblio::AddBiblio($record, $frameworkcode); |
|
Lines 336-343
is( $modified_item->new_status, 'agefield_new_value', q|ToggleNewStatus: Age = 2
Link Here
|
| 336 |
# does not exist |
337 |
# does not exist |
| 337 |
conditions => [ |
338 |
conditions => [ |
| 338 |
{ |
339 |
{ |
| 339 |
field => 'biblio.medium', |
340 |
field => 'biblio.copyrightdate', |
| 340 |
value => 'Book', |
341 |
value => '1999', |
| 341 |
}, |
342 |
}, |
| 342 |
], |
343 |
], |
| 343 |
substitutions => [ |
344 |
substitutions => [ |
| 344 |
- |
|
|