Skip to content
Snippets Groups Projects
Commit 526ad466 authored by gitlabhq's avatar gitlabhq
Browse files

fix issue sorting

parent 99777cab
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -71,7 +71,7 @@ class IssuesController < ApplicationController
end
 
def sort
@issues = @project.issues.all
@issues = @project.issues.where(:id => params['issue'])
@issues.each do |issue|
issue.position = params['issue'].index(issue.id.to_s) + 1
issue.save
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment