diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b4e10494f9..66bdbee9257 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,7 +27,8 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv - When searching for an identifier in the "Web search", the title of the search window is now "Identifier-based Web Search". [#10391](https://github.com/JabRef/jabref/pull/10391) - The ampersand checker now skips verbatim fields (`file`, `url`, ...). [#10419](https://github.com/JabRef/jabref/pull/10419) - If no existing document is selected for exporting "XMP annotated pdf" JabRef will now create a new PDF file with a sample text and the metadata. [#10102](https://github.com/JabRef/jabref/issues/10102) -- We modified the DOI cleanup to infer the DOI from an ArXiV ID if it's present. [10426](https://github.com/JabRef/jabref/issues/10426) +- We modified the DOI cleanup to infer the DOI from an ArXiV ID if it's present. [#10426](https://github.com/JabRef/jabref/issues/10426) +- The ISI importer uses the field `comment` for notes (instead of `review). [#10478](https://github.com/JabRef/jabref/pull/10478) ### Fixed diff --git a/src/main/java/org/jabref/logic/importer/fileformat/IsiImporter.java b/src/main/java/org/jabref/logic/importer/fileformat/IsiImporter.java index 6b5a4cead56..56b6b4052ae 100644 --- a/src/main/java/org/jabref/logic/importer/fileformat/IsiImporter.java +++ b/src/main/java/org/jabref/logic/importer/fileformat/IsiImporter.java @@ -97,7 +97,7 @@ public boolean isRecognizedFormat(BufferedReader reader) throws IOException { } public static void processSubSup(Map map) { - Field[] subsup = {StandardField.TITLE, StandardField.ABSTRACT, StandardField.REVIEW, new UnknownField("notes")}; + Field[] subsup = {StandardField.TITLE, StandardField.ABSTRACT, StandardField.COMMENT, new UnknownField("notes")}; for (Field aSubsup : subsup) { if (map.containsKey(aSubsup)) { diff --git a/src/test/java/org/jabref/logic/importer/fileformat/IsiImporterTest.java b/src/test/java/org/jabref/logic/importer/fileformat/IsiImporterTest.java index b77c78660d2..1739ac4ee28 100644 --- a/src/test/java/org/jabref/logic/importer/fileformat/IsiImporterTest.java +++ b/src/test/java/org/jabref/logic/importer/fileformat/IsiImporterTest.java @@ -98,9 +98,9 @@ public void testProcessSubSup() { IsiImporter.processSubSup(subs); assertEquals("$_3$", subs.get(StandardField.ABSTRACT)); - subs.put(StandardField.REVIEW, "/sub 31/"); + subs.put(StandardField.COMMENT, "/sub 31/"); IsiImporter.processSubSup(subs); - assertEquals("$_{31}$", subs.get(StandardField.REVIEW)); + assertEquals("$_{31}$", subs.get(StandardField.COMMENT)); subs.put(StandardField.TITLE, "/sup 3/"); IsiImporter.processSubSup(subs); @@ -114,9 +114,9 @@ public void testProcessSubSup() { IsiImporter.processSubSup(subs); assertEquals("$^3$", subs.get(StandardField.ABSTRACT)); - subs.put(StandardField.REVIEW, "/sup 31/"); + subs.put(StandardField.COMMENT, "/sup 31/"); IsiImporter.processSubSup(subs); - assertEquals("$^{31}$", subs.get(StandardField.REVIEW)); + assertEquals("$^{31}$", subs.get(StandardField.COMMENT)); subs.put(StandardField.TITLE, "/sub $Hello/"); IsiImporter.processSubSup(subs);