liquid_feedback_frontend
diff app/main/timeline/_action/update.lua @ 144:7c3e8a1678fc
fix timeline saved filters
add Members:set_setting_map code
check for empty name
update settings when saved under same name
fixes bug #305
add Members:set_setting_map code
check for empty name
update settings when saved under same name
fixes bug #305
| author | Daniel Poelzleithner <poelzi@poelzi.org> |
|---|---|
| date | Wed Oct 06 18:15:23 2010 +0200 (2010-10-06) |
| parents | 00d1004545f1 |
| children | 90520c9fca44 |
line diff
1.1 --- a/app/main/timeline/_action/update.lua Wed Oct 06 16:35:33 2010 +0200 1.2 +++ b/app/main/timeline/_action/update.lua Wed Oct 06 18:15:23 2010 +0200 1.3 @@ -48,7 +48,6 @@ 1.4 end 1.5 1.6 local date = param.get("date") 1.7 -trace.debug(param.get("search_from")) 1.8 1.9 if param.get("search_from") == "last_24h" then 1.10 date = "last_24h" 1.11 @@ -95,7 +94,10 @@ 1.12 if param.get("save", atom.boolean) then 1.13 request.redirect{ 1.14 module = "timeline", 1.15 - view = "save_filter" 1.16 + view = "save_filter", 1.17 + params = { 1.18 + current_name = param.get("current_name") 1.19 + } 1.20 } 1.21 else 1.22 request.redirect{