mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-22 05:50:47 +02:00
add verbose action description to cache invariant to handle changes in this setting. fixes #1409
This commit is contained in:
parent
66f7fe9f2b
commit
86ceeca0ba
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ parameters += "&_tag_name=#{@tag_name}" if @source_view == 'tag'
|
|||
# invalidate the cache every day because of staleness or
|
||||
# rendering of "due in x days" that change without touching updated at of the todo
|
||||
# also make different caches per source_view to handle difference in showing [C] and [P]
|
||||
cache [todo, current_user.date.strftime("%Y%m%d"), @source_view] do
|
||||
cache [todo, current_user.date.strftime("%Y%m%d"), @source_view, current_user.prefs.verbose_action_descriptors] do
|
||||
%>
|
||||
<div id="<%= dom_id(todo) %>" class="item-container">
|
||||
<div id="<%= dom_id(todo, 'line') %>" class="item-show">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue