liquid_feedback_frontend
changeset 1860:555057d84520
Fixed redirection after setting issue delegation
| author | bsw |
|---|---|
| date | Wed May 20 19:56:50 2026 +0200 (4 hours ago) |
| parents | 3d1f0464a3ea |
| children | cf0eab2044e8 |
| files | app/main/delegation/show.lua |
line diff
1.1 --- a/app/main/delegation/show.lua Tue Sep 20 17:35:29 2022 +0200 1.2 +++ b/app/main/delegation/show.lua Wed May 20 19:56:50 2026 +0200 1.3 @@ -136,8 +136,8 @@ 1.4 routing = { 1.5 default = { 1.6 mode = "redirect", 1.7 - module = issue and "issue" or initiative and "initiative" or "index", 1.8 - view = issue and "show" or initiative and "show" or "index", 1.9 + module = initiative and "initiative" or issue and "issue" or "index", 1.10 + view = initiative and "show" or issue and "show" or "index", 1.11 id = initiative and initiative.id or issue and issue.id, 1.12 params = { area = area and area.id, unit = unit and unit.id or area and area.unit_id } 1.13