fix for broken protocol navigation

pull/1/head
Michael Peter Christen 11 years ago
parent 5c962dd009
commit 8f6587e87b

@ -393,7 +393,7 @@ public class yacysearchtrailer {
i++;
}
theSearch.query.modifier.protocol = oldProtocolModifier;
if (oldProtocolModifier != null && oldProtocolModifier.length() > 0) theSearch.query.modifier.add(oldProtocolModifier);
if (oldProtocolModifier != null && oldProtocolModifier.length() > 0) theSearch.query.modifier.add(oldProtocolModifier.startsWith("/") ? oldProtocolModifier : "/" + oldProtocolModifier);
theSearch.query.getQueryGoal().query_original = oldQuery;
prop.put("nav-protocols_element", i);
prop.put("nav-protocols_activate", neg > 0 || visible ? 1 : 0); // by default off

Loading…
Cancel
Save