mirror of
https://github.com/hkalexling/Mango.git
synced 2026-01-24 00:03:14 -05:00
Set cache if enabled
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user