<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.1.18">
</HEAD>
<BODY>
The getSearchParameters() method of org.opencms.search.CmsSearch fails to add the searchRoot to the string of parameters<BR>
<BR>
The following diff fixes the problem:<BR>
<BR>
<PRE>
Index: CmsSearch.java
===================================================================
--- CmsSearch.java (revision 4011)
+++ CmsSearch.java (working copy)
@@ -307,6 +307,8 @@
params.append(this.getDisplayPages());
params.append("&index=");
params.append(CmsEncoder.encode(m_indexName));
+ params.append("&searchroot=");
+ params.append(this.getSearchRoot());
m_searchParameters = params.toString();
return m_searchParameters;
} else {
</PRE>
<BR>
Tristan<BR>
<BR>
</BODY>
</HTML>