$cache->clear_from_cache("MarcStructure-0-");
$cache->clear_from_cache("MarcStructure-1-");
$cache->clear_from_cache("MarcSubfieldStructure-");
+ $cache->clear_from_cache("libraries:name");
+ $cache->clear_from_cache("itemtype:description:en");
+ $cache->clear_from_cache("cn_sources:description");
+ $cache->clear_from_cache("AV_descriptions:LOST");
# Creating subfields 'é', 'è' that are not linked with a kohafield
Koha::MarcSubfieldStructures->search(
$cache->clear_from_cache("MarcStructure-0-");
$cache->clear_from_cache("MarcStructure-1-");
$cache->clear_from_cache("MarcSubfieldStructure-");
+ $cache->clear_from_cache("libraries:name");
+ $cache->clear_from_cache("itemtype:description:en");
+ $cache->clear_from_cache("cn_sources:description");
+ $cache->clear_from_cache("AV_descriptions:LOST");
$schema->storage->txn_rollback;
-
};
subtest 'strings_map() tests' => sub {
$cache->clear_from_cache("MarcStructure-0-");
$cache->clear_from_cache("MarcStructure-1-");
$cache->clear_from_cache("MarcSubfieldStructure-");
+ $cache->clear_from_cache("libraries:name");
+ $cache->clear_from_cache("itemtype:description:en");
+ $cache->clear_from_cache("cn_sources:description");
# Recreating subfields just to be sure tests will be ok
# 1 => av (LOST)
class_split_rule => $class_split_rule->class_split_rule,
}
}
- );
+ )->store();
$item->set(
{
$cache->clear_from_cache("MarcStructure-0-");
$cache->clear_from_cache("MarcStructure-1-");
$cache->clear_from_cache("MarcSubfieldStructure-");
+ $cache->clear_from_cache("libraries:name");
+ $cache->clear_from_cache("itemtype:description:en");
+ $cache->clear_from_cache("cn_sources:description");
$schema->storage->txn_rollback;
};