Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

ignore folder tags...on request of daburna

apfelmaennchena981cd5ab793
diff --git a/htroot/xml/bookmarks/tags/get.java b/htroot/xml/bookmarks/tags/get.java
index 27ced8ca6..a5f44ee8a 100644
--- a/htroot/xml/bookmarks/tags/get.java
+++ b/htroot/xml/bookmarks/tags/get.java
@@ -67,9 +67,11 @@ public class get {
bookmarksDB.Tag tag;
while (it.hasNext()) {
tag = it.next();
- prop.put("tags_"+count+"_name", tag.getTagName());
- prop.put("tags_"+count+"_count", tag.size());
- count++;
+ if(!tag.getTagName().startsWith("/")) { // ignore folder tags
+ prop.put("tags_"+count+"_name", tag.getTagName());
+ prop.put("tags_"+count+"_count", tag.size());
+ count++;
+ }
}
prop.put("tags", count);