Don't include ignored params in cache key
This commit is contained in:
parent
5eff32946e
commit
e1e372bab0
1 changed files with 1 additions and 0 deletions
|
@ -192,6 +192,7 @@ module IssuablesHelper
|
|||
opts = params.with_indifferent_access
|
||||
opts[:state] = state
|
||||
opts.except!(*IRRELEVANT_PARAMS_FOR_CACHE_KEY)
|
||||
opts.delete_if { |_, value| value.blank? }
|
||||
|
||||
hexdigest(['issuables_count', issuable_type, opts.sort].flatten.join('-'))
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue