View | Details | Raw Unified | Return to bug 30920
Collapse All | Expand All

(-)a/C4/Biblio.pm (-1 / +1 lines)
Lines 1413-1419 sub GetAuthorisedValueDesc { Link Here
1413
        }
1413
        }
1414
1414
1415
        if ( $tagslib->{$tag}->{$subfield}->{'authorised_value'} eq "cn_source" ) {
1415
        if ( $tagslib->{$tag}->{$subfield}->{'authorised_value'} eq "cn_source" ) {
1416
            $cache_key = "ClassSources";
1416
            $cache_key = "cn_sources:description";
1417
            my $cn_sources = $cache->get_from_cache( $cache_key, { unsafe => 1 } );
1417
            my $cn_sources = $cache->get_from_cache( $cache_key, { unsafe => 1 } );
1418
            if ( !$cn_sources ) {
1418
            if ( !$cn_sources ) {
1419
                $cn_sources = {
1419
                $cn_sources = {
(-)a/Koha/ClassSource.pm (-1 / +1 lines)
Lines 53-59 sub store { Link Here
53
53
54
    if ($flush) {
54
    if ($flush) {
55
        my $cache = Koha::Caches->get_instance();
55
        my $cache = Koha::Caches->get_instance();
56
        $cache->clear_from_cache('ClassSources');
56
        $cache->clear_from_cache('cn)sources:description');
57
    }
57
    }
58
58
59
    return $self;
59
    return $self;
(-)a/Koha/ItemType.pm (-1 / +1 lines)
Lines 60-66 sub store { Link Here
60
60
61
    if ($flush) {
61
    if ($flush) {
62
        my $cache = Koha::Caches->get_instance();
62
        my $cache = Koha::Caches->get_instance();
63
        my $key = "enItemTypeDescriptions";
63
        my $key = "itemtype:description:en";
64
        $cache->clear_from_cache($key);
64
        $cache->clear_from_cache($key);
65
    }
65
    }
66
66
(-)a/Koha/Library.pm (-1 / +1 lines)
Lines 60-66 sub store { Link Here
60
60
61
    if ($flush) {
61
    if ($flush) {
62
        my $cache = Koha::Caches->get_instance();
62
        my $cache = Koha::Caches->get_instance();
63
        $cache->clear_from_cache('LibraryNames');
63
        $cache->clear_from_cache('libraries:name');
64
    }
64
    }
65
65
66
    return $self;
66
    return $self;
(-)a/Koha/Localization.pm (-2 / +1 lines)
Lines 43-49 sub store { Link Here
43
43
44
    if ($self->entity eq 'itemtypes') {
44
    if ($self->entity eq 'itemtypes') {
45
        my $cache = Koha::Caches->get_instance();
45
        my $cache = Koha::Caches->get_instance();
46
        my $key = $self->lang."ItemTypeDescriptions";
46
        my $key = "itemtype:description:".$self->lang;
47
        $cache->clear_from_cache($key);
47
        $cache->clear_from_cache($key);
48
    }
48
    }
49
49
50
- 

Return to bug 30920