From e29b08d0dc4813d274079ee834967ffc449828a1 Mon Sep 17 00:00:00 2001 From: saurabhbhatia Date: Tue, 24 Sep 2013 17:13:00 +0800 Subject: [PATCH] Journal title being imported correctly now --- app/controllers/admin/import_data_controller.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/controllers/admin/import_data_controller.rb b/app/controllers/admin/import_data_controller.rb index cdd40c891..a9be3b28a 100644 --- a/app/controllers/admin/import_data_controller.rb +++ b/app/controllers/admin/import_data_controller.rb @@ -226,6 +226,7 @@ class Admin::ImportDataController < OrbitBackendController else @journal_paper.paper_title = b[:title] end + @journal_paper.journal_title = b[:journal] @journal_paper.note = b[:remarks] I18n.locale = :en @journal_paper.authors = b[:author] @@ -234,6 +235,7 @@ class Admin::ImportDataController < OrbitBackendController else @journal_paper.paper_title = b[:title] end + @journal_paper.journal_title = b[:journal] @journal_paper.note = b[:remarks] @journal_paper.year = b[:year] @journal_paper.vol_no = b[:volumeno]