Adding search on ISSN for z3950_search.pl
[koha_fer] / cataloguing / addbiblio.pl
index cd6f1e1..68c7096 100755 (executable)
@@ -366,7 +366,7 @@ sub create_input {
                     tabindex=\"1\"
                     size=\"67\"
                     maxlength=\"255\" 
-                    disabled=\"true\"
+                    readonly=\"readonly\"
                     \/>
                     <a href=\"#\" class=\"buttonDot\"
                         onclick=\"Dopop('/cgi-bin/koha/authorities/auth_finder.pl?authtypecode=".$tagslib->{$tag}->{$subfield}->{authtypecode}."&amp;index=$subfield_data{id}','$subfield_data{id}'); return false;\" title=\"Tag Editor\">...</a>
@@ -695,7 +695,7 @@ AND (authtypecode IS NOT NULL AND authtypecode<>\"\")|);
       # Search if there is any authorities to link to.
       my $query='at='.$data->{authtypecode}.' ';
       map {$query.= ' and he,ext="'.$_->[1].'"' if ($_->[0]=~/[A-z]/)}  $field->subfields();
-      my ($error,$results)=SimpleSearch( $query, undef, undef, [ "authorityserver" ] );
+      my ($error, $results, $total_hits)=SimpleSearch( $query, undef, undef, [ "authorityserver" ] );
     # there is only 1 result 
          if ( $error ) {
         warn "BIBLIOADDSAUTHORITIES: $error";