]> source.dussan.org Git - redmine.git/commitdiff
Require redmine/sort_criteria globally (#35455).
authorGo MAEDA <maeda@farend.jp>
Sat, 26 Jun 2021 01:16:41 +0000 (01:16 +0000)
committerGo MAEDA <maeda@farend.jp>
Sat, 26 Jun 2021 01:16:41 +0000 (01:16 +0000)
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21050 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/query.rb
lib/redmine.rb

index 50c53c821672c1c0541b50bc02b377a22ad5c9bf..1810764a5088a1fc2e3483e0486e92819b7627db 100644 (file)
@@ -17,8 +17,6 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
-require 'redmine/sort_criteria'
-
 class QueryColumn
   attr_accessor :name, :totalable, :default_order
   attr_writer   :sortable, :groupable
index f6d83acd92c94e07fee312ed9724c2d3b93f92ea..caf23abbc764d4af0092e87d8e636af4ee2aa98b 100644 (file)
@@ -47,6 +47,7 @@ require 'redmine/platform'
 require 'redmine/project_jump_box'
 require 'redmine/mime_type'
 require 'redmine/search'
+require 'redmine/sort_criteria'
 require 'redmine/syntax_highlighting'
 require 'redmine/thumbnail'
 require 'redmine/unified_diff'