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.="