From b32496f4472947af617d157bd86e7c55cd10c137 Mon Sep 17 00:00:00 2001 From: chiu Date: Fri, 1 Nov 2019 17:04:11 +0800 Subject: [PATCH] Update journal_papers_controller.rb --- app/controllers/admin/journal_papers_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/journal_papers_controller.rb b/app/controllers/admin/journal_papers_controller.rb index b5019fc..0799836 100644 --- a/app/controllers/admin/journal_papers_controller.rb +++ b/app/controllers/admin/journal_papers_controller.rb @@ -35,7 +35,7 @@ class Admin::JournalPapersController < OrbitMemberController @journals[key] = value.group_by{|v| [get_level_type(v),get_author_type(v),get_paper_type(v),get_publication_date(v)]} @journals[key].each do |key1,value1| if value1.length==1 - value.delete key1 + @journals[key].delete key1 end end end