Bug 12478: fix capitalisation issue with index names
authorRobin Sheat <robin@catalyst.net.nz>
Fri, 10 Jul 2015 03:19:21 +0000 (15:19 +1200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 26 Apr 2016 12:57:51 +0000 (09:57 -0300)
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Koha/SearchEngine/Elasticsearch/Search.pm

index 0738020..1402a79 100644 (file)
@@ -187,7 +187,7 @@ sub search_auth_compat {
             # rather than hard-coded conversions.
             # Our results often come through as nested arrays, to fix this
             # requires changes in catmandu.
-            my $authid = $record->{ 'local-number' }[0][0];
+            my $authid = $record->{ 'Local-number' }[0][0];
             $result{authid} = $authid;
 
             # TODO put all this info into the record at index time so we