Queries can be marked as 'For all projects'. Such queries will be available on...
Queries can be marked as 'For all projects'. Such queries will be available on all projects and on the global issue list (#897, closes #671). Only admin users can create/edit queries that are public and for all projects. Note: this change does not allow to save a query from the global issue list. You have to be inside a project but then you can mark the query as 'For all projects'. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1311 e93f8b46-1217-0410-a6f0-8f06a7374b81
Showing
- app/controllers/issues_controller.rb 8 additions, 1 deletionapp/controllers/issues_controller.rb
- app/controllers/queries_controller.rb 16 additions, 18 deletionsapp/controllers/queries_controller.rb
- app/helpers/issues_helper.rb 13 additions, 0 deletionsapp/helpers/issues_helper.rb
- app/models/query.rb 9 additions, 2 deletionsapp/models/query.rb
- app/views/issues/_sidebar.rhtml 6 additions, 5 deletionsapp/views/issues/_sidebar.rhtml
- app/views/issues/index.rhtml 1 addition, 1 deletionapp/views/issues/index.rhtml
- app/views/queries/_form.rhtml 8 additions, 3 deletionsapp/views/queries/_form.rhtml
- test/fixtures/queries.yml 50 additions, 3 deletionstest/fixtures/queries.yml
- test/fixtures/roles.yml 0 additions, 2 deletionstest/fixtures/roles.yml
- test/functional/queries_controller_test.rb 185 additions, 0 deletionstest/functional/queries_controller_test.rb
- test/unit/query_test.rb 32 additions, 2 deletionstest/unit/query_test.rb
Please register or sign in to comment