]> source.dussan.org Git - redmine.git/commit
Adds STI to Query model. Issue queries are now IssueQuery instances.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 9 Dec 2012 14:10:49 +0000 (14:10 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 9 Dec 2012 14:10:49 +0000 (14:10 +0000)
commitab066317e62b3a6082fc82ba57915ed02f0f6699
tree7889bbe8150f7aa9ed03a8970e9c999e33e378f1
parentfb9a87f53ecd1bce3afef08cea0237e227cd400d
Adds STI to Query model. Issue queries are now IssueQuery instances.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10964 e93f8b46-1217-0410-a6f0-8f06a7374b81
16 files changed:
app/controllers/queries_controller.rb
app/helpers/issues_helper.rb
app/helpers/queries_helper.rb
app/models/issue_query.rb [new file with mode: 0644]
app/models/project.rb
app/models/query.rb
app/views/settings/_issues.html.erb
db/migrate/20121209123234_add_queries_type.rb [new file with mode: 0644]
db/migrate/20121209123358_update_queries_to_sti.rb [new file with mode: 0644]
test/fixtures/queries.yml
test/functional/calendars_controller_test.rb
test/functional/issues_controller_test.rb
test/functional/issues_controller_transaction_test.rb
test/unit/helpers/queries_helper_test.rb
test/unit/lib/redmine/helpers/gantt_test.rb
test/unit/query_test.rb