@@ -, +, @@ --- C4/Biblio.pm | 2 +- Koha/ClassSource.pm | 2 +- Koha/ItemType.pm | 2 +- Koha/Library.pm | 2 +- Koha/Localization.pm | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) --- a/C4/Biblio.pm +++ a/C4/Biblio.pm @@ -1413,7 +1413,7 @@ sub GetAuthorisedValueDesc { } if ( $tagslib->{$tag}->{$subfield}->{'authorised_value'} eq "cn_source" ) { - $cache_key = "ClassSources"; + $cache_key = "cn_sources:description"; my $cn_sources = $cache->get_from_cache( $cache_key, { unsafe => 1 } ); if ( !$cn_sources ) { $cn_sources = { --- a/Koha/ClassSource.pm +++ a/Koha/ClassSource.pm @@ -53,7 +53,7 @@ sub store { if ($flush) { my $cache = Koha::Caches->get_instance(); - $cache->clear_from_cache('ClassSources'); + $cache->clear_from_cache('cn)sources:description'); } return $self; --- a/Koha/ItemType.pm +++ a/Koha/ItemType.pm @@ -60,7 +60,7 @@ sub store { if ($flush) { my $cache = Koha::Caches->get_instance(); - my $key = "enItemTypeDescriptions"; + my $key = "itemtype:description:en"; $cache->clear_from_cache($key); } --- a/Koha/Library.pm +++ a/Koha/Library.pm @@ -60,7 +60,7 @@ sub store { if ($flush) { my $cache = Koha::Caches->get_instance(); - $cache->clear_from_cache('LibraryNames'); + $cache->clear_from_cache('libraries:name'); } return $self; --- a/Koha/Localization.pm +++ a/Koha/Localization.pm @@ -43,7 +43,7 @@ sub store { if ($self->entity eq 'itemtypes') { my $cache = Koha::Caches->get_instance(); - my $key = $self->lang."ItemTypeDescriptions"; + my $key = "itemtype:description:".$self->lang; $cache->clear_from_cache($key); } --