[opencms-dev] Bug in org.opencms.search.CmsSearch.getSearchParameters() in CVS

Tristan Tarrant ttarrant at etnoteam.it
Thu Aug 5 09:54:00 CEST 2004


The getSearchParameters() method of org.opencms.search.CmsSearch fails
to add the searchRoot to the string of parameters

The following diff fixes the problem:


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 {



Tristan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040805/28e60bb4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2121 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040805/28e60bb4/attachment.bin>


More information about the opencms-dev mailing list