]> source.dussan.org Git - redmine.git/commitdiff
Fixed that sort_criteria is required (#26513).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 24 Jul 2017 17:14:53 +0000 (17:14 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 24 Jul 2017 17:14:53 +0000 (17:14 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@16877 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/query.rb

index b297a6973fcf9f80d09b208ebf26283b0b07aa0f..6c20cd992a3bd50309e9a26b385910930f89b80c 100644 (file)
@@ -15,6 +15,8 @@
 # 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, :sortable, :groupable, :totalable, :default_order
   include Redmine::I18n