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:
@@ -728,7 +728,7 @@ class AppSolr
|
|||||||
$searchText = strstr ($tok, ":");
|
$searchText = strstr ($tok, ":");
|
||||||
|
|
||||||
// verify if there's a field definition
|
// verify if there's a field definition
|
||||||
if ($fieldName === false) {
|
if ($fieldName === false || $fieldName == "") {
|
||||||
// it's not a field
|
// it's not a field
|
||||||
// the token is not a field
|
// the token is not a field
|
||||||
// add it completelly
|
// add it completelly
|
||||||
|
|||||||
Reference in New Issue
Block a user