Changeset 12947
- Timestamp:
- 10/22/07 10:17:45 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/MidCOM_2_8/midcom.helper.search/viewer.php
r12934 r12947 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'] .= '*';
