mirror of
https://github.com/redmine/redmine.git
synced 2025-11-02 11:25:55 +01:00
Add buttons to save/edit/delete a custom query to calendar view (#32194).
Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@19322 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -147,6 +147,12 @@ class QueriesController < ApplicationController
|
||||
else
|
||||
redirect_to issues_gantt_path(options)
|
||||
end
|
||||
elsif params[:calendar]
|
||||
if @project
|
||||
redirect_to project_calendar_path(@project, options)
|
||||
else
|
||||
redirect_to issues_calendar_path(options)
|
||||
end
|
||||
else
|
||||
redirect_to _project_issues_path(@project, options)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user