diff --git a/src/main/java/org/jabref/logic/importer/fetcher/ComplexSearchQuery.java b/src/main/java/org/jabref/logic/importer/fetcher/ComplexSearchQuery.java index b7c5c3cbd88..c442e302f93 100644 --- a/src/main/java/org/jabref/logic/importer/fetcher/ComplexSearchQuery.java +++ b/src/main/java/org/jabref/logic/importer/fetcher/ComplexSearchQuery.java @@ -42,6 +42,7 @@ public static ComplexSearchQuery fromTerms(Collection terms) { case "year" -> builder.singleYear(Integer.valueOf(termText)); case "year-range" -> builder.parseYearRange(termText); case "default" -> builder.defaultFieldPhrase(termText); + default -> builder.defaultFieldPhrase(term.field() + ":" + termText); } }); return builder.build();