diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-02-01 02:51:54 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-02-01 02:51:54 -0800 |
commit | eb26deab89a94f5ba7a2d21fa2a5a98cb7bb8885 (patch) | |
tree | d4dde7fff57a6880a716fe102573483c3f8e6e7b /httemplate/elements/tr-select-part_svc.html | |
parent | 206b339a530130306e65d05cff1bbe87eab4df1b (diff) |
add advanced phone number search, RT#21054
Diffstat (limited to 'httemplate/elements/tr-select-part_svc.html')
-rw-r--r-- | httemplate/elements/tr-select-part_svc.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/httemplate/elements/tr-select-part_svc.html b/httemplate/elements/tr-select-part_svc.html index af5148749..9d4508091 100644 --- 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> |