We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 651444a commit b545232Copy full SHA for b545232
inc/field/dropdownfield.class.php
@@ -331,7 +331,7 @@ public function buildParams($rand = null) {
331
if (isset($decodedValues['show_tree_depth'])
332
&& $decodedValues['show_tree_depth'] > 0
333
) {
334
- $dparams_cond_crit['level'] = ['<=', $decodedValues['show_tree_depth'] + $baseLevel];
+ $dparams_cond_crit[$itemtype::getTableField('level')] = ['<=', $decodedValues['show_tree_depth'] + $baseLevel];
335
}
336
337
$dparams['condition'] = $dparams_cond_crit;
0 commit comments