diff --git a/app/controllers/personal_journals_controller.rb b/app/controllers/personal_journals_controller.rb index f27e685..65e4a42 100644 --- a/app/controllers/personal_journals_controller.rb +++ b/app/controllers/personal_journals_controller.rb @@ -26,8 +26,6 @@ class PersonalJournalsController < ApplicationController end if params[:selectbox] !=nil journal_papers_temp = JournalPaper.where(:is_hidden=>false).sort_by{ |tp| [-tp[:year].to_i,-tp[:publication_date].to_i] } - #journal_papers_count = journal_papers.count - #journal_papers_temp = journal_papers.take(journal_papers_count).sort_by{ |tp| [-tp[:year].to_i,-tp[:publication_date].to_i] } case params[:selectbox] when "paper_title","default" if page.custom_string_field == "table"