We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19fd7d0 commit 921ad36Copy full SHA for 921ad36
1 file changed
inc/field/dropdownfield.class.php
@@ -371,7 +371,7 @@ public function buildParams($rand = null) {
371
if (isset($decodedValues['show_tree_depth'])
372
&& $decodedValues['show_tree_depth'] > 0
373
) {
374
- $dparams_cond_crit['level'] = ['<=', $decodedValues['show_tree_depth'] + $baseLevel];
+ $dparams_cond_crit[$itemtype::getTableField('level')] = ['<=', $decodedValues['show_tree_depth'] + $baseLevel];
375
}
376
377
// search filter
0 commit comments