# HG changeset patch # User bsw # Date 1340919713 -7200 # Node ID d440f900413e233f39c42b4faeae116de6050c1d # Parent 5ec9e39c4f6ca9be80cf8f7ca8c9c5a743e40a71 Fixed more event link for areas and units diff -r 5ec9e39c4f6c -r d440f900413e app/main/event/_list.lua --- a/app/main/event/_list.lua Thu Jun 28 23:39:55 2012 +0200 +++ b/app/main/event/_list.lua Thu Jun 28 23:41:53 2012 +0200 @@ -196,10 +196,8 @@ text = _"Show older events", module = request.get_module(), view = request.get_view(), - id = param.get_id(), + id = for_unit and for_unit.id or for_area and for_area.id, params = { - unit_id = for_unit and for_unit.id, - area_id = for_area and for_area.id, tab = param.get_all_cgi()["tab"], events = param.get_all_cgi()["events"], event_max_id = last_event_id