Lines 124-129
subtest 'AddBiblio' => sub {
Link Here
|
124 |
subtest 'GetMarcSubfieldStructureFromKohaField' => sub { |
124 |
subtest 'GetMarcSubfieldStructureFromKohaField' => sub { |
125 |
plan tests => 27; |
125 |
plan tests => 27; |
126 |
|
126 |
|
|
|
127 |
# Add second mapping for copyrightdate |
128 |
Koha::MarcSubfieldStructures->search({ frameworkcode => '', tagfield => '264', tagsubfield => 'c' })->delete; |
129 |
Koha::MarcSubfieldStructure->new({ frameworkcode => '', tagfield => '264', tagsubfield => 'c', kohafield => "biblio.copyrightdate" })->store; |
130 |
Koha::Caches->get_instance->clear_from_cache( "MarcSubfieldStructure-" ); |
131 |
|
127 |
my @columns = qw( |
132 |
my @columns = qw( |
128 |
tagfield tagsubfield liblibrarian libopac repeatable mandatory kohafield tab |
133 |
tagfield tagsubfield liblibrarian libopac repeatable mandatory kohafield tab |
129 |
authorised_value authtypecode value_builder isurl hidden frameworkcode |
134 |
authorised_value authtypecode value_builder isurl hidden frameworkcode |
130 |
- |
|
|