fix sort error
This commit is contained in:
parent
e67cb911de
commit
125a0879ec
|
@ -8,8 +8,7 @@ class SeminarsController < ApplicationController
|
||||||
|
|
||||||
time_now = Time.now
|
time_now = Time.now
|
||||||
|
|
||||||
seminars = SeminarMain.filter_by_categories.desc(:signup_start_date).page(OrbitHelper.params[:page_no]).per(OrbitHelper.page_data_count)
|
seminars = SeminarMain.all.desc(:seminar_start_date).filter_by_categories
|
||||||
|
|
||||||
{
|
{
|
||||||
"seminars" => seminars,
|
"seminars" => seminars,
|
||||||
'time_now' => time_now,
|
'time_now' => time_now,
|
||||||
|
|
Loading…
Reference in New Issue