aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrancis <francis>2008-09-13 11:56:04 +0000
committerfrancis <francis>2008-09-13 11:56:04 +0000
commit5458be30029f4f381adde4a8d11e2bee4a154b76 (patch)
treeb9236a40e36c6454f62dbaa5581a300e216f5d8b
parentcef675330195bb7b01213d953e1f96c4c758e810 (diff)
Make folding / unfolding work
-rw-r--r--app/views/request/_correspondence.rhtml5
-rw-r--r--todo.txt2
2 files changed, 7 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
diff --git a/todo.txt b/todo.txt
index 0d1ca1cfe..658a8533f 100644
--- a/todo.txt
+++ b/todo.txt
@@ -1,3 +1,5 @@
+Gah - fix caching regarding info_request that correspondence part belongs to
+
Test data for Tony
Check tracks still work with URL routing changes