limit filetype nav to known extension also on image/media search

- on text search we limit filetype nav already to known extension, apply filter to image search
pull/1/head
reger 11 years ago
parent b87a94da56
commit ca7444dbdf

@ -780,6 +780,8 @@ public final class SearchEvent {
//Log.logInfo("SearchEvent", "removed unknown extension " + ext + " from navigation."); //Log.logInfo("SearchEvent", "removed unknown extension " + ext + " from navigation.");
i.remove(); i.remove();
} }
} else { // for image and media search also limit to known extension
if (!Classification.isAnyKnownExtension(ext)) i.remove();
} }
} }
this.filetypeNavigator.inc(fcts); this.filetypeNavigator.inc(fcts);

Loading…
Cancel
Save