diff --git a/app/controllers/personal_journals_controller.rb b/app/controllers/personal_journals_controller.rb index d28f4ff..0bf0edd 100644 --- a/app/controllers/personal_journals_controller.rb +++ b/app/controllers/personal_journals_controller.rb @@ -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