X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-cust_tag.html;h=711408e27b57568906eda78be74862ad2a62d2f3;hp=b133dcc15b80f68d709097db72db191830daf920;hb=64aec88c35418b8c630811cdf5afb19b2a1c4299;hpb=3fc0a546caf38b444b63744726c5080ce5d9bbbb diff --git a/httemplate/elements/tr-select-cust_tag.html b/httemplate/elements/tr-select-cust_tag.html index b133dcc15..711408e27 100644 --- a/httemplate/elements/tr-select-cust_tag.html +++ b/httemplate/elements/tr-select-cust_tag.html @@ -4,8 +4,6 @@ <% $opt{'label'} || 'Tags' %> <% include( '/elements/select-cust_tag.html', - 'curr_value' => \@curr_tagnum, - 'part_tag' => \@part_tag, %opt, ) %> @@ -38,6 +36,8 @@ if ( $cgi && $cgi->param('tagnum') ) { my $extra_sql = "WHERE disabled IS NULL OR disabled = '' "; $extra_sql .= ' OR tagnum IN ('. join(',', @curr_tagnum). ')' if @curr_tagnum; +#now kind of inefficient (we only want to know if there are any), but since +# its an edit control its not significant my @part_tag = qsearch({ 'table' => 'part_tag', 'hashref' => {},