Journal title being imported correctly now

This commit is contained in:
saurabhbhatia 2013-09-24 17:13:00 +08:00
parent d5bb2a1889
commit e29b08d0dc
1 changed files with 2 additions and 0 deletions

View File

@ -226,6 +226,7 @@ class Admin::ImportDataController < OrbitBackendController
else else
@journal_paper.paper_title = b[:title] @journal_paper.paper_title = b[:title]
end end
@journal_paper.journal_title = b[:journal]
@journal_paper.note = b[:remarks] @journal_paper.note = b[:remarks]
I18n.locale = :en I18n.locale = :en
@journal_paper.authors = b[:author] @journal_paper.authors = b[:author]
@ -234,6 +235,7 @@ class Admin::ImportDataController < OrbitBackendController
else else
@journal_paper.paper_title = b[:title] @journal_paper.paper_title = b[:title]
end end
@journal_paper.journal_title = b[:journal]
@journal_paper.note = b[:remarks] @journal_paper.note = b[:remarks]
@journal_paper.year = b[:year] @journal_paper.year = b[:year]
@journal_paper.vol_no = b[:volumeno] @journal_paper.vol_no = b[:volumeno]