Update personal_journals_controller.rb

This commit is contained in:
chiu 2019-08-13 16:51:51 +08:00
parent d9459be130
commit e6791c1e7f
1 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,8 @@ class PersonalJournalsController < ApplicationController
journal_papers = journal_papers_show_last journal_papers = journal_papers_show_last
else else
end end
journal_papers = JournalPaper.where(:is_hidden=>false).sort_for_frontend.page(OrbitHelper.params[:page_no]).per(OrbitHelper.page_data_count)
journal_paper_list = [] journal_paper_list = []
journal_papers.each do |journal_paper| journal_papers.each do |journal_paper|
t = [] t = []