# HG changeset patch # User bsw # Date 1779299810 -7200 # Node ID 555057d845202e5956a096ebca4259eff50f70b4 # Parent 3d1f0464a3eaf50bf853b2c5267df3bc4a84260f Fixed redirection after setting issue delegation diff -r 3d1f0464a3ea -r 555057d84520 app/main/delegation/show.lua --- a/app/main/delegation/show.lua Tue Sep 20 17:35:29 2022 +0200 +++ b/app/main/delegation/show.lua Wed May 20 19:56:50 2026 +0200 @@ -136,8 +136,8 @@ routing = { default = { mode = "redirect", - module = issue and "issue" or initiative and "initiative" or "index", - view = issue and "show" or initiative and "show" or "index", + module = initiative and "initiative" or issue and "issue" or "index", + view = initiative and "show" or issue and "show" or "index", id = initiative and initiative.id or issue and issue.id, params = { area = area and area.id, unit = unit and unit.id or area and area.unit_id }