Merge pull request #140 from herbertsg/BUG-9180

BUG 9180 can't search string without fieldname
This commit is contained in:
julceslauhub
2012-06-28 12:21:42 -07:00

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