From f966c6b59cae2c34412336d5b719740deca166c8 Mon Sep 17 00:00:00 2001 From: tonnesen Date: Thu, 27 Jun 2002 17:41:26 +0000 Subject: [PATCH] Applying patch from Matt Kraai to pick F or NF based on presense of a dewey number when adding a book via marcimport.pl --- C4/Output.pm | 6 ++++++ acqui.simple/marcimport.pl | 14 +++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/C4/Output.pm b/C4/Output.pm index fef856699a..a4d6253b68 100644 --- a/C4/Output.pm +++ b/C4/Output.pm @@ -477,6 +477,7 @@ sub getkeytableselectoptions { $keyfieldname, # column name of code to use in option list $descfieldname, # column name of descriptive field $showkey, # flag to show key in description + $default, # optional default key )=@_; my $selectclause; # return value @@ -502,6 +503,11 @@ sub getkeytableselectoptions { while ( ($key, $desc) = $sth->fetchrow) { if ($showkey || ! $desc ) { $desc="$key - $desc"; } $selectclause.="