修復排序

This commit is contained in:
邱博亞 2023-10-18 21:01:51 +08:00
parent 96fddd87db
commit fff114e183
1 changed files with 1 additions and 1 deletions

View File

@ -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"],