View | Details | Raw Unified | Return to bug 38922
Collapse All | Expand All

(-)a/C4/AuthoritiesMarc.pm (-5 lines)
Lines 271-281 sub SearchAuthorities { Link Here
271
271
272
    if ( $nbresults > 0 ) {
272
    if ( $nbresults > 0 ) {
273
273
274
        ##Find authid and linkid fields
275
        ##we may be searching multiple authoritytypes.
276
        ## FIXME this assumes that all authid and linkid fields are the same for all authority types
277
        # my ($authidfield,$authidsubfield)=GetAuthMARCFromKohaField($dbh,"auth_header.authid",$authtypecode[0]);
278
        # my ($linkidfield,$linkidsubfield)=GetAuthMARCFromKohaField($dbh,"auth_header.linkid",$authtypecode[0]);
279
        while ( ( $counter < $nbresults ) && ( $counter < ( $offset + $length ) ) ) {
274
        while ( ( $counter < $nbresults ) && ( $counter < ( $offset + $length ) ) ) {
280
275
281
            ##Here we have to extract MARC record and $authid from ZEBRA AUTHORITIES
276
            ##Here we have to extract MARC record and $authid from ZEBRA AUTHORITIES
(-)a/Koha/Authority.pm (-2 lines)
Lines 302-311 sub to_api_mapping { Link Here
302
        authtrees         => undef,
302
        authtrees         => undef,
303
        authtypecode      => 'framework_id',
303
        authtypecode      => 'framework_id',
304
        datecreated       => 'created_date',
304
        datecreated       => 'created_date',
305
        linkid            => undef,
306
        marcxml           => undef,
305
        marcxml           => undef,
307
        modification_time => 'modified_date',
306
        modification_time => 'modified_date',
308
        origincode        => undef,
309
    };
307
    };
310
}
308
}
311
309
(-)a/authorities/authorities.pl (-2 lines)
Lines 537-543 my $authid = $input->param('authid') =~ s/\D//gr Link Here
537
    ; # if authid exists, it's a modif, not a new authority. We remove from authid all non-digit characters just in case the CGI parameter contains weird characters like spaces
537
    ; # if authid exists, it's a modif, not a new authority. We remove from authid all non-digit characters just in case the CGI parameter contains weird characters like spaces
538
my $op           = $input->param('op');
538
my $op           = $input->param('op');
539
my $myindex      = $input->param('index');
539
my $myindex      = $input->param('index');
540
my $linkid       = $input->param('linkid');
541
my $authtypecode = $input->param('authtypecode');
540
my $authtypecode = $input->param('authtypecode');
542
my $breedingid   = $input->param('breedingid');
541
my $breedingid   = $input->param('breedingid');
543
542
Lines 675-681 $template->param( Link Here
675
    authority_types => $authority_types,
674
    authority_types => $authority_types,
676
    authtypecode    => $authtypecode,
675
    authtypecode    => $authtypecode,
677
    authid          => $authid,
676
    authid          => $authid,
678
    linkid          => $linkid,
679
    authtypetext    => $type ? $type->authtypetext : "",
677
    authtypetext    => $type ? $type->authtypetext : "",
680
    hide_marc       => C4::Context->preference('hide_marc'),
678
    hide_marc       => C4::Context->preference('hide_marc'),
681
);
679
);
(-)a/misc/migration_tools/ifla/data/defaults.yml (-2 lines)
Lines 6-12 authsubfield: Link Here
6
  isurl: 0
6
  isurl: 0
7
  kohafield: ~
7
  kohafield: ~
8
  libopac: ''
8
  libopac: ''
9
  linkid: 0
10
  mandatory: 0
9
  mandatory: 0
11
  repeatable: 1
10
  repeatable: 1
12
  seealso: ~
11
  seealso: ~
13
- 

Return to bug 38922