aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/request/_correspondence.rhtml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/request/_correspondence.rhtml b/app/views/request/_correspondence.rhtml
index 6862f1f7d..c974735bd 100644
--- a/app/views/request/_correspondence.rhtml
+++ b/app/views/request/_correspondence.rhtml
@@ -11,6 +11,11 @@ end
if !incoming_message.nil?
cache_name = cache_name + "/incoming_message/" + incoming_message.id.to_s
end
+if !@collapse_quotes.nil? && !@collapse_quotes
+ cache_name = cache_name + "/collapse/false"
+else
+ cache_name = cache_name + "/collapse/true" # default is true
+end
# yeuch, must be nicer way of telling cache just to use this cache_name, than
# putting it falsely in list action
cache(:controller => 'request', :action => 'list', :extra => cache_name) do