Lines 153-159
if ($op eq 'add_form') {
Link Here
|
153 |
} |
153 |
} |
154 |
$cache->clear_from_cache("MarcStructure-0-$frameworkcode"); |
154 |
$cache->clear_from_cache("MarcStructure-0-$frameworkcode"); |
155 |
$cache->clear_from_cache("MarcStructure-1-$frameworkcode"); |
155 |
$cache->clear_from_cache("MarcStructure-1-$frameworkcode"); |
156 |
$cache->clear_from_cache("default_value_for_mod_marc-"); |
|
|
157 |
$cache->clear_from_cache("MarcSubfieldStructure-$frameworkcode"); |
156 |
$cache->clear_from_cache("MarcSubfieldStructure-$frameworkcode"); |
158 |
$cache->clear_from_cache("MarcCodedFields-$frameworkcode"); |
157 |
$cache->clear_from_cache("MarcCodedFields-$frameworkcode"); |
159 |
print $input->redirect("/cgi-bin/koha/admin/marctagstructure.pl?searchfield=$tagfield&frameworkcode=$frameworkcode"); |
158 |
print $input->redirect("/cgi-bin/koha/admin/marctagstructure.pl?searchfield=$tagfield&frameworkcode=$frameworkcode"); |
Lines 179-185
if ($op eq 'add_form') {
Link Here
|
179 |
$sth2->execute($searchfield, $frameworkcode); |
178 |
$sth2->execute($searchfield, $frameworkcode); |
180 |
$cache->clear_from_cache("MarcStructure-0-$frameworkcode"); |
179 |
$cache->clear_from_cache("MarcStructure-0-$frameworkcode"); |
181 |
$cache->clear_from_cache("MarcStructure-1-$frameworkcode"); |
180 |
$cache->clear_from_cache("MarcStructure-1-$frameworkcode"); |
182 |
$cache->clear_from_cache("default_value_for_mod_marc-"); |
|
|
183 |
$cache->clear_from_cache("MarcSubfieldStructure-$frameworkcode"); |
181 |
$cache->clear_from_cache("MarcSubfieldStructure-$frameworkcode"); |
184 |
$cache->clear_from_cache("MarcCodedFields-$frameworkcode"); |
182 |
$cache->clear_from_cache("MarcCodedFields-$frameworkcode"); |
185 |
$template->param( searchfield => $searchfield ); |
183 |
$template->param( searchfield => $searchfield ); |