From c739a90979fded06c884f49e02f3a30d96a4a878 Mon Sep 17 00:00:00 2001
From: Claudiu Cristea <clau.cristea@gmail.com>
Date: Wed, 12 Oct 2011 11:52:07 +0300
Subject: [PATCH] Drupal #1307000 by claudiu.cristea: Fixed 'Starts with' matching doesn't work with Views.

---
 sites/all/modules/references/references.module |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sites/all/modules/references/references.module b/sites/all/modules/references/references.module
index 2693946..d28e2f1 100644
--- a/sites/all/modules/references/references.module
+++ b/sites/all/modules/references/references.module
@@ -149,7 +149,7 @@ function references_potential_references_view($entity_type, $view_name, $display
     'ids' => $options['ids'],
     'title_field' => $options['title_field'],
     'string' => $options['string'],
-    'match' => $options['string'],
+    'match' => $options['match'],
   );
   $view->display_handler->set_option('references_options', $references_options);
 
-- 
1.7.0.4

