activated image type navigation for image search

pull/1/head
Michael Peter Christen 11 years ago
parent 9e12fdff23
commit 85b1922244

@ -760,11 +760,14 @@ public final class SearchEvent {
Iterator<String> i = fcts.iterator();
while (i.hasNext()) {
String ext = i.next();
if (TextParser.supportsExtension(ext) != null && !Classification.isAnyKnownExtension(ext)) {
if (this.query.contentdom == ContentDomain.TEXT) {
if ((Classification.isImageExtension(ext) && this.excludeintext_image) ||
(TextParser.supportsExtension(ext) != null && !Classification.isAnyKnownExtension(ext))) {
//Log.logInfo("SearchEvent", "removed unknown extension " + ext + " from navigation.");
i.remove();
}
}
}
this.filetypeNavigator.inc(fcts);
}
}

Loading…
Cancel
Save