Skip to content

Commit bffbcbf

Browse files
committed
fix(dropdownfield,glpiselectfield): shiw item ID only on user preference
1 parent 2780137 commit bffbcbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/field/dropdownfield.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public function buildParams($rand = null) {
119119
'comments' => false,
120120
'entity' => $this->getEntityRestriction(),
121121
// 'entity_sons' => (bool) $form->isRecursive(),
122-
'displaywith' => ['id'],
122+
'displaywith' => [],
123123
];
124124

125125
if ($rand !== null) {

0 commit comments

Comments
 (0)