Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix monograph type being decoded #356

Merged
merged 1 commit into from Feb 26, 2016
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -451,6 +451,7 @@ sub convert_input
# type
if( $type eq "TECHREPORT")
{
# !See note for monograph_type in _decode_bibtex sub below
# TODO: regexps
#$epdata->{monograph_type} = $fields->{""} if exists $fields->{""};
}
@@ -525,7 +526,8 @@ sub _decode_bibtex
{
while( my($k,$v) = each(%$epdata) )
{
next if( $k eq 'type' );
next if( $k eq 'type' ); # always defined in convert_input. Never passed as raw BibTeX
next if( $k eq 'monograph_type' ); # as above
$epdata->{$k} = _decode_bibtex( $v );
}
}