fix error
This commit is contained in:
parent
50ec5bbd62
commit
8b18dded06
|
@ -15,7 +15,7 @@ class PersonalJournalsController < ApplicationController
|
|||
journal_paper_query = journal_paper_query.where(:journal_type_ids.in => page_journal_type.to_a )
|
||||
end
|
||||
journal_papers = journal_paper_query.page(OrbitHelper.params[:page_no]).per(page_data_count)
|
||||
if params[:layout_type]
|
||||
if params[:layout_type].start_with?('index_by_author')
|
||||
return index_by_author(journal_papers)
|
||||
end
|
||||
page = OrbitHelper.page
|
||||
|
|
Loading…
Reference in New Issue