diff --git a/app/controllers/personal_books_controller.rb b/app/controllers/personal_books_controller.rb index 74db8ea..48d3c80 100644 --- a/app/controllers/personal_books_controller.rb +++ b/app/controllers/personal_books_controller.rb @@ -63,7 +63,7 @@ class PersonalBooksController < ApplicationController t << {"value" => "#{book.create_link}"} end when "publish_date", "publication_date" - t << {"value" => book.publication_date.strftime("%Y/%m/%d")} + t << {"value" => "book.publication_date.strftime('%Y/%m/%d')"} when "author_type" t << {"value" => (book.book_author_types.collect{|bat| bat.title}.join(", ") rescue "")} when "language"