liquid_feedback_frontend

changeset 772:d440f900413e

Fixed more event link for areas and units
author bsw
date Thu Jun 28 23:41:53 2012 +0200 (2012-06-28)
parents 5ec9e39c4f6c
children ea4c1b3a443c
files app/main/event/_list.lua
line diff
     1.1 --- a/app/main/event/_list.lua	Thu Jun 28 23:39:55 2012 +0200
     1.2 +++ b/app/main/event/_list.lua	Thu Jun 28 23:41:53 2012 +0200
     1.3 @@ -196,10 +196,8 @@
     1.4      text = _"Show older events",
     1.5      module = request.get_module(),
     1.6      view = request.get_view(),
     1.7 -    id = param.get_id(),
     1.8 +    id = for_unit and for_unit.id or for_area and for_area.id,
     1.9      params = {
    1.10 -      unit_id = for_unit and for_unit.id,
    1.11 -      area_id = for_area and for_area.id,
    1.12        tab = param.get_all_cgi()["tab"],
    1.13        events = param.get_all_cgi()["events"],
    1.14        event_max_id = last_event_id

Impressum / About Us