From 35685ca1a51c88c3bc7e2050774ad9eca7063682 Mon Sep 17 00:00:00 2001 From: Michael Herger Date: Sat, 7 Sep 2024 12:19:27 +0200 Subject: [PATCH] #1153 - populate the years query cache --- Slim/Control/Queries.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Slim/Control/Queries.pm b/Slim/Control/Queries.pm index d8679b062e8..0d8e57eb5ac 100644 --- a/Slim/Control/Queries.pm +++ b/Slim/Control/Queries.pm @@ -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";