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

Classify eJournals as journals #3981

Merged
merged 10 commits into from
Nov 12, 2024
Merged
7 changes: 7 additions & 0 deletions import/index_java/src/org/vufind/index/FormatCalculator.java
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,14 @@ protected String getFormatFromBibLevel(Record record, char recordType, char bibL
return "Journal";
default: break;
}
} else if (recordType == 'm') {
demiankatz marked this conversation as resolved.
Show resolved Hide resolved
switch (get008Value(marc008, 23)) {
case 'o':
return "eJournal";
default: break;
}
demiankatz marked this conversation as resolved.
Show resolved Hide resolved
}

// Default to serial even if 008 is missing
if (!isConferenceProceeding(record)) {
return "Serial";
Expand Down
1 change: 1 addition & 0 deletions import/translation_maps/format_map.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ DataSet = Data Set
DiscCartridge = Software
Drawing = Photo
eBook = eBook
eJournal = Journal
demiankatz marked this conversation as resolved.
Show resolved Hide resolved
Electronic = Electronic
ElectronicResource = Software
Filmstrip = Video
Expand Down
Loading