fix for browsing of file paths in Index Browser

pull/1/head
orbiter 11 years ago
parent b3ebd38079
commit 500e0b9927

@ -287,7 +287,7 @@ public class HostBrowser {
// get all files for a specific host from the index
StringBuilder q = new StringBuilder();
q.append(CollectionSchema.host_s.getSolrFieldName()).append(':').append(host);
if (host != null) q.append(CollectionSchema.host_s.getSolrFieldName()).append(':').append(host);
if (pathparts.length > 0 && pathparts[0].length() > 0) {
for (String pe: pathparts) {
if (pe.length() > 0) q.append(" AND ").append(CollectionSchema.url_paths_sxt.getSolrFieldName()).append(":\"").append(pe).append('\"');

Loading…
Cancel
Save