From 587f732b6235c728c823ae8310c67c99e5a9924a Mon Sep 17 00:00:00 2001 From: Herbert Saal Gutierrez Date: Thu, 28 Jun 2012 12:38:41 -0400 Subject: [PATCH] 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. --- workflow/engine/classes/class.AppSolr.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/engine/classes/class.AppSolr.php b/workflow/engine/classes/class.AppSolr.php index ff2b7b88e..c5d193781 100644 --- a/workflow/engine/classes/class.AppSolr.php +++ b/workflow/engine/classes/class.AppSolr.php @@ -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