Skip to content

Commit

Permalink
Include process and active step versions in cache_hash
Browse files Browse the repository at this point in the history
  • Loading branch information
entantoencuanto committed Jan 2, 2025
1 parent b2abcdb commit 8520edb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ def cache_hash
hash = []
hash << "decidim/process_dropdown_metadata"
hash << id
hash << process.cache_key_with_version
hash << process.active_step&.cache_key_with_version
hash << current_user.try(:id).to_s
hash << components_collection.cache_key_with_version
hash << I18n.locale.to_s
Expand Down

0 comments on commit 8520edb

Please sign in to comment.