# HG changeset patch # User Mike Becker # Date 1736800686 -3600 # Node ID 5fa3e40d0de037f4ba95244e62962b7b237b5168 # Parent 50d94c216c3f8b4abb4860c95423ee308ae553f7 add in_project query parameter to global issue view - fixes #574 diff -r 50d94c216c3f -r 5fa3e40d0de0 src/main/kotlin/de/uapcore/lightpit/servlet/IssuesServlet.kt --- a/src/main/kotlin/de/uapcore/lightpit/servlet/IssuesServlet.kt Mon Jan 13 20:57:40 2025 +0100 +++ b/src/main/kotlin/de/uapcore/lightpit/servlet/IssuesServlet.kt Mon Jan 13 21:38:06 2025 +0100 @@ -48,6 +48,10 @@ http.response.sendError(404) return } + if (http.param("in_project") != null) { + http.response.sendRedirect("${http.baseHref}projects/${issue.project.node}/issues/-/-/${issue.id}") + return + } renderIssueView(http, dao, issue, pathInfos) } @@ -57,6 +61,10 @@ http.response.sendError(404) return } + if (http.param("in_project") != null) { + http.response.sendRedirect("${http.baseHref}projects/${issue.project.node}/issues/-/-/${issue.id}/edit") + return + } with(http) { view = IssueEditView( diff -r 50d94c216c3f -r 5fa3e40d0de0 src/main/webapp/WEB-INF/changelogs/changelog-de.jspf --- a/src/main/webapp/WEB-INF/changelogs/changelog-de.jspf Mon Jan 13 20:57:40 2025 +0100 +++ b/src/main/webapp/WEB-INF/changelogs/changelog-de.jspf Mon Jan 13 21:38:06 2025 +0100 @@ -28,6 +28,10 @@