From 5e233c5a3340fa7774993821bdd1da39236cda42 Mon Sep 17 00:00:00 2001
From: M Parker <mparker17@536298.no-reply.drupal.org>
Date: Tue, 18 Aug 2015 09:38:30 -0400
Subject: [PATCH] 2536618-2

---
 includes/name_handler_filter_name_fulltext.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/includes/name_handler_filter_name_fulltext.inc b/includes/name_handler_filter_name_fulltext.inc
index 82e1489..144aa5b 100644
--- a/includes/name_handler_filter_name_fulltext.inc
+++ b/includes/name_handler_filter_name_fulltext.inc
@@ -89,7 +89,7 @@ class name_handler_filter_name_fulltext extends views_handler_filter {
   function op_contains($fulltext_field) {
     $value = drupal_strtolower($this->value);
     $placeholder = $this->placeholder();
-    $this->query->add_where_expression($this->options['group'], "$fulltext_field LIKE $placeholder", array($placeholder => '% ' . db_like($value) . '%'));
+    $this->query->add_where_expression($this->options['group'], "$fulltext_field LIKE $placeholder", array($placeholder => '%' . db_like($value) . '%'));
   }
 
   function op_word($fulltext_field) {
@@ -105,7 +105,7 @@ class name_handler_filter_name_fulltext extends views_handler_filter {
     $words = preg_split('/ /', $value, -1, PREG_SPLIT_NO_EMPTY);
     foreach($words as $word) {
       $placeholder =  $this->placeholder();
-      $where->where("$fulltext_field LIKE $placeholder", array($placeholder => '% ' . db_like($word) . '%'));
+      $where->where("$fulltext_field LIKE $placeholder", array($placeholder => '%' . db_like($word) . '%'));
     }
 
     $this->query->add_where($this->options['group'], $where);
-- 
2.5.0

