SQL standard compatibility
This commit is contained in:
parent
c1264b4f61
commit
b01c276fa6
@ -289,7 +289,7 @@ class DmsfWorkflowsController < ApplicationController
|
||||
end
|
||||
|
||||
def new_step
|
||||
@steps = @dmsf_workflow.dmsf_workflow_steps.group(:step).to_a
|
||||
@steps = @dmsf_workflow.dmsf_workflow_steps.select('step, MAX(name) AS name').group(:step)
|
||||
|
||||
respond_to do |format|
|
||||
format.html
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user