liquid_feedback_frontend

changeset 1704:cd3b521dc735

merge
author bsw
date Mon Sep 27 10:58:26 2021 +0200 (2021-09-27)
parents 5eb8b596f7d4 b2868d84275e
children 0cfa0d088aa0
files
line diff
     1.1 --- a/app/main/index/_head.lua	Mon Sep 27 10:58:14 2021 +0200
     1.2 +++ b/app/main/index/_head.lua	Mon Sep 27 10:58:26 2021 +0200
     1.3 @@ -1,4 +1,4 @@
     1.4 -local unit_id = app.single_unit_id or request.get_param{ name = "unit" }
     1.5 +local unit_id = config.single_unit_id or request.get_param{ name = "unit" } or app.single_unit_id
     1.6  local area_id = config.single_area_id or request.get_param{ name = "area" }
     1.7  
     1.8  local initiative = param.get("initiative", "table")
     2.1 --- a/app/main/issue/_filters.lua	Mon Sep 27 10:58:14 2021 +0200
     2.2 +++ b/app/main/issue/_filters.lua	Mon Sep 27 10:58:26 2021 +0200
     2.3 @@ -5,7 +5,7 @@
     2.4  local member = param.get("member", "table")
     2.5  local phase = request.get_param{ name = "phase" }
     2.6  
     2.7 -local selected_unit_id = app.single_unit_id or request.get_param{ name = "unit" }
     2.8 +local selected_unit_id = config.single_unit_id or request.get_param{ name = "unit" } or app.single_unit_id
     2.9  if selected_unit_id == "all" then
    2.10    selected_unit_id = nil 
    2.11  end

Impressum / About Us