projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add advanced phone number search, RT#21054
[freeside.git]
/
httemplate
/
elements
/
tr-select-part_svc.html
diff --git
a/httemplate/elements/tr-select-part_svc.html
b/httemplate/elements/tr-select-part_svc.html
index
af51487
..
9d45080
100644
(file)
--- a/
httemplate/elements/tr-select-part_svc.html
+++ b/
httemplate/elements/tr-select-part_svc.html
@@
-21,6
+21,9
@@
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>