Bug 24026: (bug 22847 follow-up) Display correctly max[onsite]issueqty (not the propagated ones)
See bug 22847. We should never call ->Get in this template, we want to display the values in the DB, not the calculated ones Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
4ad2bedb97
commit
c4ca7bff68
1 changed files with 2 additions and 2 deletions
|
@ -137,7 +137,7 @@
|
|||
[% ELSE %] [% END %]
|
||||
</td>
|
||||
<td>
|
||||
[% SET rule_value = CirculationRules.Get( rule.branchcode, rule.categorycode, rule.itemtype, 'maxissueqty' ) %]
|
||||
[% SET rule_value = CirculationRules.Search( rule.branchcode, rule.categorycode, rule.itemtype, 'maxissueqty' ) %]
|
||||
[% IF rule_value || rule_value == "0" %]
|
||||
[% rule_value | html %]
|
||||
[% ELSE %]
|
||||
|
@ -145,7 +145,7 @@
|
|||
[% END %]
|
||||
</td>
|
||||
<td>
|
||||
[% SET rule_value = CirculationRules.Get( rule.branchcode, rule.categorycode, rule.itemtype, 'maxonsiteissueqty' ) %]
|
||||
[% SET rule_value = CirculationRules.Search( rule.branchcode, rule.categorycode, rule.itemtype, 'maxonsiteissueqty' ) %]
|
||||
[% IF rule_value || rule_value == "0" %]
|
||||
[% rule_value | html %]
|
||||
[% ELSE %]
|
||||
|
|
Loading…
Reference in a new issue