|
|
|
@ -459,9 +459,9 @@ class ShixunsController < ApplicationController
|
|
|
|
|
def get_data_sets
|
|
|
|
|
page = params[:page] || 1
|
|
|
|
|
limit = params[:limit] || 10
|
|
|
|
|
data_sets = @shixun.data_sets.order("created_on desc")
|
|
|
|
|
data_sets = @shixun.data_sets
|
|
|
|
|
@data_count = data_sets.count
|
|
|
|
|
@data_sets= data_sets.page(page).per(limit)
|
|
|
|
|
@data_sets= data_sets.order("created_on desc").page(page).per(limit)
|
|
|
|
|
@absolute_folder = edu_setting('shixun_folder')
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|