From 8d2e868a0f5dd5add553f1725e750daa2c9f4c91 Mon Sep 17 00:00:00 2001 From: dbs Date: Thu, 11 Nov 2010 16:50:10 +0000 Subject: [PATCH] Do not supply a default value for 003 in new authority records With cat.maintain_control_numbers enabled by default, we can trust the database trigger to create the appropriate 003 for us - and by not supplying a 003 in the new record, we won't create a spurious 035 for a brand new record. git-svn-id: svn://svn.open-ils.org/ILS/trunk@18706 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Cat/Authority.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Cat/Authority.pm b/Open-ILS/src/perlmods/OpenILS/Application/Cat/Authority.pm index 7fca930e7..823f43068 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Cat/Authority.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Cat/Authority.pm @@ -86,7 +86,7 @@ sub create_authority_record_from_bib_field { my $arn = 'AUTOGEN-' . time(); # Placeholder MARCXML; - # 001/003 can be filled in via database triggers + # 001/003 can be be properly filled in via database triggers # 005 will be filled in automatically at creation time # 008 needs to be set by a cataloguer (could be some OU settings, I suppose) # 040 should come from OU settings / OU shortname @@ -94,7 +94,6 @@ sub create_authority_record_from_bib_field { my $marc_xml = < nz a22 o 4500 $arn -CONS |||||||||||||||||||||||||||||||||| CONSCONS $control -- 2.11.0