If there is a document type with no text field (e.g. only Boolean fields) and you have some documents of this type in the content tree you get always these documents as Search result regardless of the expression you type in the Search box. This article will help you to fix this behavior.
Please edit your document type with no text field in:

Site Manager -> Development -> Document types -> edit -> Queries -> edit searchtree query

and comment out the query e.g.:

/* SELECT ##COLUMNS##, <DocumentName> AS
SearchResultName FROM <document type view> WHERE (##WHERE##)
ORDER BY ##ORDERBY## */


Optionally, you may add the Document name field manually and it generates the new searchtree query which would not cause the incorrect behavior.

This issue will be fixed in 5.0 version.




See also:


Applies to: Kentico CMS 4.1
Created on 11/6/2009 2:30:53 AM in Bug workarounds
 
0 ratings
Sitemap | Content Management System | E-commerce Software | Social Networking Software | Intranet | Online Marketing Solution | Copyright © 2004-2013 Kentico Software | Powered by Kentico CMS