liquid_feedback_frontend
changeset 1513:895d327a3cb1
Limit issues to single unit if single unit mode is configured
author | bsw |
---|---|
date | Thu Aug 20 13:50:03 2020 +0200 (2020-08-20) |
parents | 37a366b86b49 |
children | 3fcae27c2709 |
files | app/main/issue/_list.lua |
line diff
1.1 --- a/app/main/issue/_list.lua Thu Aug 20 13:48:18 2020 +0200 1.2 +++ b/app/main/issue/_list.lua Thu Aug 20 13:50:03 2020 +0200 1.3 @@ -15,6 +15,10 @@ 1.4 mode = "timeline" 1.5 end 1.6 1.7 +if config.single_unit_id then 1.8 + for_unit = Unit:by_id(config.single_unit_id) 1.9 +end 1.10 + 1.11 local selector 1.12 1.13 if search then