liquid_feedback_frontend

changeset 1718:26b0b4fb09fe

Fixed filter for new automatic single unit mode
author bsw
date Mon Sep 27 13:03:36 2021 +0200 (2021-09-27)
parents f41f5c5f8fa2
children 9b8dc1828f1f
files app/main/issue/_list.lua
line diff
     1.1 --- a/app/main/issue/_list.lua	Mon Sep 27 12:44:07 2021 +0200
     1.2 +++ b/app/main/issue/_list.lua	Mon Sep 27 13:03:36 2021 +0200
     1.3 @@ -16,7 +16,11 @@
     1.4  end
     1.5  
     1.6  if app.single_unit_id then
     1.7 -  for_unit = Unit:by_id(app.single_unit_id)
     1.8 +  if request.get_param{ name = "unit" } then
     1.9 +    for_unit = Unit:by_id(request.get_param{ name = "unit" })
    1.10 +  else
    1.11 +    for_unit = Unit:by_id(app.single_unit_id)
    1.12 +  end
    1.13  end
    1.14  
    1.15  local selector

Impressum / About Us