排序问题

dev_jupyter
daiao 5 years ago
parent d32d847eb0
commit ff6fef6c52

@ -52,7 +52,7 @@ class ShixunSearchService < ApplicationService
def search_options def search_options
order = order =
if sort_str == "myshixun_count" if sort_str == "myshixuns_count"
{"is_wechat_support" => "desc", sort_str => order_str} {"is_wechat_support" => "desc", sort_str => order_str}
else else
{sort_str => order_str} {sort_str => order_str}

Loading…
Cancel
Save