# HG changeset patch # User luisf # Date 1316432932 -3600 # Node ID a0e028d6060a1c42dc762261f53d74b1db1a2d76 # Parent 1710ec37bb6aa18d21013e1b01187eb49f0efff1 The booktitle string was missing from the all_fields class variable (BibtexEntryType class); fixes Bug #297. diff -r 1710ec37bb6a -r a0e028d6060a vendor/plugins/redmine_bibliography/app/models/bibtex_entry_type.rb --- a/vendor/plugins/redmine_bibliography/app/models/bibtex_entry_type.rb Fri Sep 16 18:40:19 2011 +0100 +++ b/vendor/plugins/redmine_bibliography/app/models/bibtex_entry_type.rb Mon Sep 19 12:48:52 2011 +0100 @@ -1,6 +1,6 @@ class BibtexEntryType < ActiveRecord::Base - @@all_fields = [ "editor", "publisher", "chapter", "pages", "volume", "series", "address", "edition", "month", "year", "type", "note", "number", "journal", "howpublished", "key", "school" ] + @@all_fields = [ "booktitle", "editor", "publisher", "chapter", "pages", "volume", "series", "address", "edition", "month", "year", "type", "note", "number", "journal", "howpublished", "key", "school" ] @@fields = Hash['article', ['journal', 'year', 'volume', 'number', 'pages', 'month', 'note' ], 'book' , [ 'editor', 'publisher', 'volume', 'series', 'address', 'edition', 'month', 'year', 'note' ],