]> git.koha-community.org Git - koha.git/commit
Bug 17530: (QA follow-up) Fix caching error
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 7 Sep 2018 05:50:13 +0000 (07:50 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 7 Sep 2018 13:16:10 +0000 (13:16 +0000)
commitdfadaa45aa8ce226d9ba111ebad6e44271e39e41
tree7152216dd907cceafe174f936b444d7abdc04334
parentd6424c1999d3563c5243185503dd5a9b5b928f8f
Bug 17530: (QA follow-up) Fix caching error

The fourth patch made this change:
-    $last_article_requestable_guesses->{$key} = $res;
+    $cache->set_in_cache(GUESSED_ITEMTYPES_KEY, $res);

This removed the category level in the cached hash. Adding it back here.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tested by verifying cached values, running opac-search with anonymous
session as well as user context.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha/IssuingRules.pm