diff --git a/defaults/yacy.init b/defaults/yacy.init index 9dfb51027..d79b2684c 100644 --- a/defaults/yacy.init +++ b/defaults/yacy.init @@ -825,6 +825,7 @@ search.result.show.tags = false # can be temporary different if search string is given with differen navigation values # assigning no value(s) means that no navigation is shown search.navigation=location,hosts,authors,namespace,topics,filetype,protocol,language +#search.navigation=location,hosts,authors,namespace,topics,filetype,protocol,language,collections # search result verification and snippet fetch caching rules # each search result can be verified byloading the link from the web diff --git a/htroot/ConfigPortal.java b/htroot/ConfigPortal.java index f0dd5888e..61a335d30 100644 --- a/htroot/ConfigPortal.java +++ b/htroot/ConfigPortal.java @@ -170,6 +170,7 @@ public class ConfigPortal { prop.put("search.navigation.hosts", sb.getConfig("search.navigation", "").indexOf("hosts",0) >= 0 ? 1 : 0); prop.put("search.navigation.authors", sb.getConfig("search.navigation", "").indexOf("authors",0) >= 0 ? 1 : 0); + prop.put("search.navigation.collections", sb.getConfig("search.navigation", "").indexOf("collections",0) >= 0 ? 1 : 0); prop.put("search.navigation.namespace", sb.getConfig("search.navigation", "").indexOf("namespace",0) >= 0 ? 1 : 0); prop.put("search.navigation.topics", sb.getConfig("search.navigation", "").indexOf("topics",0) >= 0 ? 1 : 0); diff --git a/htroot/ConfigSearchPage_p.html b/htroot/ConfigSearchPage_p.html index bbd6990e8..07117f677 100644 --- a/htroot/ConfigSearchPage_p.html +++ b/htroot/ConfigSearchPage_p.html @@ -125,13 +125,19 @@ - + + + + +