Bug 20430: (See also bug 19436) Button display depends on wrong server count
[koha.git] / authorities / blinddetail-biblio-search.pl
index 33b7ef0..9e7930d 100755 (executable)
@@ -122,9 +122,9 @@ if ($authid) {
             $indicator2 = defined $thes_mapping{$thes_008_11} ? $thes_mapping{$thes_008_11} : $thes_008_11;
             if ($indicator2 eq '7') {
                 if ($thes_008_11 eq 'r') {
-                    $subfields{'2'} = ['aat'];
+                    push @subfield_loop, { marc_subfield => '2', marc_values => [ 'aat' ] };
                 } elsif ($thes_008_11 eq 's') {
-                    $subfields{'2'} = ['sears'];
+                    push @subfield_loop, { marc_subfield => '2', marc_values => [ 'sears' ] };
                 }
             }
         }