forked from saurabh/orbit4-5
sorting for role status fixed
This commit is contained in:
parent
37c28fd03e
commit
c39ca8c360
|
@ -45,7 +45,7 @@ class MembersController < ApplicationController
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
# Members with status
|
# Members with status
|
||||||
role_status = RoleStatus.order_by(:id=>"asc").where(:role_id=>role['id'])
|
role_status = RoleStatus.order_by(:key=>"asc").where(:role_id=>role['id'])
|
||||||
role_status_ids = role_status.collect{|status| status.id.to_s}
|
role_status_ids = role_status.collect{|status| status.id.to_s}
|
||||||
|
|
||||||
role_status.each do |status|
|
role_status.each do |status|
|
||||||
|
|
Loading…
Reference in New Issue