add advanced phone number search, RT#21054
[freeside.git] / httemplate / elements / tr-select-part_svc.html
index af51487..9d45080 100644 (file)
@@ -21,6 +21,9 @@
 
 my( %opt ) = @_;
 
 
 my( %opt ) = @_;
 
-$opt{'part_svc'} ||= [ qsearch( 'part_svc', {} ) ]; # { disabled=>'' } )
+my %hash = ();
+$hash{'svcdb'} = $opt{'svcdb'} if $opt{'svcdb'};
+
+$opt{'part_svc'} ||= [ qsearch( 'part_svc', \%hash ) ]; # { disabled=>'' } )
 
 </%init>
 
 </%init>