use the new transformed-value starwith operator
authorMike Rylander <mrylander@gmail.com>
Wed, 11 May 2011 16:31:13 +0000 (12:31 -0400)
committerMike Rylander <mrylander@gmail.com>
Wed, 11 May 2011 16:31:13 +0000 (12:31 -0400)
Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Authority.pm

index 7618f5c..87b63dd 100644 (file)
@@ -71,7 +71,7 @@ sub search_authority_by_simple_normalize_heading {
         from   => 'are',
         where  => {
             deleted => 'f',
-            marc => { '=' => {
+            marc => { 'startwith' => {
                 transform => 'authority.simple_normalize_heading',
                 value     => [ 'authority.simple_normalize_heading' => $marcxml ]
             }},