Actually provide json_query with an operator to use
authorMike Rylander <mrylander@gmail.com>
Wed, 11 May 2011 15:57:18 +0000 (11:57 -0400)
committerMike Rylander <mrylander@gmail.com>
Wed, 11 May 2011 15:57:18 +0000 (11:57 -0400)
Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Authority.pm

index 680bb1f..7618f5c 100644 (file)
@@ -71,10 +71,10 @@ sub search_authority_by_simple_normalize_heading {
         from   => 'are',
         where  => {
             deleted => 'f',
-            marc => {
+            marc => { '=' => {
                 transform => 'authority.simple_normalize_heading',
                 value     => [ 'authority.simple_normalize_heading' => $marcxml ]
-            },
+            }},
             defined($controlset) ? ( control_set => $controlset ) : ()
         }
     };