Changeset 12948
- Timestamp:
- 10/22/07 10:18:34 (1 year ago)
- Files:
-
- trunk/midcom/midcom.helper.search/viewer.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/midcom.helper.search/viewer.php
r12936 r12948 146 146 $data['query'] = trim($_REQUEST['query']); 147 147 148 if ( $GLOBALS['midcom_config']['indexer_backend'] != 'solr' 149 && count(explode(' ', $data['query'])) == 1 148 if ( count(explode(' ', $data['query'])) == 1 150 149 && strpos($data['query'], '*') === false) 151 150 { 152 151 /** 153 * If there is only one search term AND the backend is not Solr 154 * Append * to the query (Solr does this wilcard automagically) 152 * If there is only one search term append * to the query 155 153 */ 156 154 $data['query'] .= '*';
