Changeset 28709 for trunk/include/functions_search.inc.php
- Timestamp:
- Jun 17, 2014, 1:11:44 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_search.inc.php
r28587 r28709 86 86 if (isset($search['fields']['allwords'])) 87 87 { 88 $fields = array('file', 'name', 'comment', 'author'); 88 $fields = array('file', 'name', 'comment'); 89 90 if (isset($search['fields']['allwords']['fields']) and count($search['fields']['allwords']['fields']) > 0) 91 { 92 $fields = array_intersect($fields, $search['fields']['allwords']['fields']); 93 } 94 89 95 // in the OR mode, request bust be : 90 96 // ((field1 LIKE '%word1%' OR field2 LIKE '%word1%')
Note: See TracChangeset
for help on using the changeset viewer.