summaryrefslogtreecommitdiff
path: root/httemplate/elements/select-part_svc.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/select-part_svc.html')
-rw-r--r--httemplate/elements/select-part_svc.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/elements/select-part_svc.html b/httemplate/elements/select-part_svc.html
index 72ab7f6b0..743b2852e 100644
--- a/httemplate/elements/select-part_svc.html
+++ b/httemplate/elements/select-part_svc.html
@@ -13,6 +13,9 @@ my( %opt ) = @_;
$opt{'records'} = delete $opt{'part_svc'}
if $opt{'part_svc'};
-$opt{'records'} ||= [ qsearch( 'part_svc', {} ) ]; # { disabled=>'' } )
+my %hash = ();
+$hash{'svcdb'} = $opt{'svcdb'} if $opt{'svcdb'};
+
+$opt{'records'} ||= [ qsearch( 'part_svc', \%hash ) ]; # { disabled=>'' } )
</%init>