changeset 696:a0e028d6060a luisf

The booktitle string was missing from the all_fields class variable (BibtexEntryType class); fixes Bug #297.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Mon, 19 Sep 2011 12:48:52 +0100
parents 1710ec37bb6a
children 614b2d1580d0 b96d3005ee79
files vendor/plugins/redmine_bibliography/app/models/bibtex_entry_type.rb
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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' ],