https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31925 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA --- Comment #26 from David Cook <dcook@prosentient.com.au> --- Now the tricky part is the syspref MARCAuthorityControlField008 which defaults to the following: || aca||aabn | a|a d The second "a" in "aca" means "a - Library of Congress Subject Headings", so there's a long-standing expectation in Koha that a new authority will be considered a LCSH even if it's not really... -- And actually yeah... this code doesn't make sense at all in the end... Consider the following. $heading->{thesaurus} is always going to have a value in it, even if it's a defined value of "notdefined". if ( $heading->{thesaurus} ) { my $date = POSIX::strftime( '%y%m%d', localtime ); $marcrecordauth->insert_fields_ordered( MARC::Field->new( '008', $date . Koha::Authority->default_marc21_008( $heading->{thesaurus} ) ) ); -- You are receiving this mail because: You are watching all bug changes.