uglify order statement

at least this one DOES work...
pull/3162/head
Jan Sandbrink 9 years ago
parent 0f868f17e2
commit 42ec887384
  1. 2
      app/controllers/work_packages/auto_completes_controller.rb

@ -50,7 +50,7 @@ class WorkPackages::AutoCompletesController < ApplicationController
@work_packages |= scope.visible @work_packages |= scope.visible
.where(sql_query) .where(sql_query)
.order(:id) .order("#{WorkPackage.table_name}.id ASC") # :id does not work because...
.limit(10) .limit(10)
respond_to do |format| respond_to do |format|

Loading…
Cancel
Save