# HG changeset patch # User bsw # Date 1632740616 -7200 # Node ID 26b0b4fb09fe36a4394551f57218c6359fc728d0 # Parent f41f5c5f8fa20a1ae02ecd48886b04899b41b44d Fixed filter for new automatic single unit mode diff -r f41f5c5f8fa2 -r 26b0b4fb09fe app/main/issue/_list.lua --- a/app/main/issue/_list.lua Mon Sep 27 12:44:07 2021 +0200 +++ b/app/main/issue/_list.lua Mon Sep 27 13:03:36 2021 +0200 @@ -16,7 +16,11 @@ end if app.single_unit_id then - for_unit = Unit:by_id(app.single_unit_id) + if request.get_param{ name = "unit" } then + for_unit = Unit:by_id(request.get_param{ name = "unit" }) + else + for_unit = Unit:by_id(app.single_unit_id) + end end local selector