BUG 9180 can't search string without fieldname

Error
-----
can't search string without fieldname only fields are searched

Solution
--------
correct identification of field name to allow the search using plain string
in processname, status fields.
This commit is contained in:
Herbert Saal Gutierrez
2012-06-28 12:38:41 -04:00
parent 00a3fa7c67
commit 587f732b62

View File

@@ -728,7 +728,7 @@ class AppSolr
$searchText = strstr ($tok, ":");
// verify if there's a field definition
if ($fieldName === false) {
if ($fieldName === false || $fieldName == "") {
// it's not a field
// the token is not a field
// add it completelly