Skip to content

Commit

Permalink
#1153 - populate the years query cache
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelherger committed Sep 7, 2024
1 parent 6e72719 commit 35685ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Slim/Control/Queries.pm
Original file line number Diff line number Diff line change
Expand Up @@ -4572,6 +4572,7 @@ sub yearsQuery {
$total_sth->execute( @{$p} );
($count) = $total_sth->fetchrow_array();
$total_sth->finish;
$cache->{$cacheKey} = $count;
}

$sql .= "ORDER BY $key DESC";
Expand Down

0 comments on commit 35685ca

Please sign in to comment.