fixed type

This commit is contained in:
Harry Bomrah 2016-06-06 17:14:39 +08:00
parent b73e557c78
commit 19837e7ca7
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ wb = xlsx_package.workbook
row << book.year
row << book.language
row << book.book_types.map{|bpt| bpt.title}.join(", ") rescue ""
row << book.book_type.title rescue ""
row << book.pages
row << book.book_author_types.map{|bpt| bpt.title}.join(", ") rescue ""
row << book.number_of_authors