Set cache if enabled

This commit is contained in:
Leeingnyo 2021-08-30 23:07:59 +09:00
parent e988a8c121
commit 601346b209

View File

@ -381,7 +381,9 @@ class Title
ary.reverse! unless opt.not_nil!.ascend
SortedEntriesCache.set cache_key, ary
if Config.current.sorted_entries_cache_enable
SortedEntriesCache.set cache_key, ary
end
ary
end