Journal title being imported correctly now

This commit is contained in:
saurabhbhatia committed 2013-09-24 17:13:00 +08:00
1 parent d5bb2a1889
commit e29b08d0dc
1 file changed
+2
@@ -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]