Update personal_journals_controller.rb
This commit is contained in:
parent
6ea6e8c3ab
commit
175f05168c
|
@ -47,7 +47,6 @@ class PersonalJournalsController < ApplicationController
|
|||
end
|
||||
journal_papers_show_last = journal_papers_show[(page_to_show-1)*OrbitHelper.page_data_count...page_to_show*OrbitHelper.page_data_count]
|
||||
journal_papers = journal_papers_show_last
|
||||
journal_papers.total_pages = (journal_papers_temp.length / OrbitHelper.page_data_count.to_f).ceil
|
||||
else
|
||||
end
|
||||
journal_papers = JournalPaper.where(:is_hidden=>false).sort_for_frontend.page(OrbitHelper.params[:page_no]).per(OrbitHelper.page_data_count)
|
||||
|
|
Loading…
Reference in New Issue