[freeside-commits] branch FREESIDE_3_BRANCH updated. 425a87cceee1042973ef0b58755496eadb8caab1
Ivan
ivan at 420.am
Wed Feb 11 17:19:05 PST 2015
The branch, FREESIDE_3_BRANCH has been updated
via 425a87cceee1042973ef0b58755496eadb8caab1 (commit)
from 769b080fc81e1858a71de16936a7d0796fdaac7a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 425a87cceee1042973ef0b58755496eadb8caab1
Author: Ivan Kohler <ivan at freeside.biz>
Date: Wed Feb 11 17:19:04 2015 -0800
fix inventory vs. hardware type selection, RT#33425
diff --git a/httemplate/elements/tr-select-inventory_item.html b/httemplate/elements/tr-select-inventory_item.html
index 669e85f..d7a14ec 100644
--- 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>
-----------------------------------------------------------------------
Summary of changes:
httemplate/elements/tr-select-inventory_item.html | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
More information about the freeside-commits
mailing list