projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
769b080
)
fix inventory vs. hardware type selection, RT#33425
author
Ivan Kohler
<ivan@freeside.biz>
Thu, 12 Feb 2015 01:19:04 +0000
(17:19 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Thu, 12 Feb 2015 01:19:04 +0000
(17:19 -0800)
httemplate/elements/tr-select-inventory_item.html
patch
|
blob
|
history
diff --git
a/httemplate/elements/tr-select-inventory_item.html
b/httemplate/elements/tr-select-inventory_item.html
index
669e85f
..
d7a14ec
100644
(file)
--- a/
httemplate/elements/tr-select-inventory_item.html
+++ b/
httemplate/elements/tr-select-inventory_item.html
@@
-12,7
+12,6
@@
<& tr-td-label.html, %opt &>
<TD>
<& select-tiered.html,
- 'prefix' => $opt{'field'}.'_',
'tiers' => [
{
field => $opt{'field'}.'_classnum',
@@
-32,12
+31,15
@@
},
],
%opt,
+ 'prefix' => $opt{'prefix'}. $opt{'field'}. '_', #after %opt so it overrides
&>
</TD>
</TR>
% }
<%init>
+
my %opt = @_;
+
my @classnums;
if (ref($opt{'classnum'})) {
@classnums = @{ $opt{'classnum'} };
@@
-45,4
+47,5
@@
if (ref($opt{'classnum'})) {
@classnums = split(',', $opt{'classnum'});
}
my $classnum_sql = 'classnum IN('.join(',', @classnums).')';
+
</%init>