修復排序
This commit is contained in:
parent
96fddd87db
commit
fff114e183
|
@ -74,7 +74,7 @@ class FaqsController < ApplicationController
|
||||||
end
|
end
|
||||||
|
|
||||||
def widget
|
def widget
|
||||||
faqs = Qa.filter_by_widget_categories.collect do |qa|
|
faqs = Qa.can_display.order_by(:order_position => "asc").filter_by_widget_categories.collect do |qa|
|
||||||
statuses = qa.statuses_with_classname.collect do |status|
|
statuses = qa.statuses_with_classname.collect do |status|
|
||||||
{
|
{
|
||||||
"status" => status["name"],
|
"status" => status["name"],
|
||||||
|
|
Loading…
Reference in New Issue