Skip to content

Commit 0190ada

Browse files
committed
feat(dropdownfield): always show ticket id
1 parent cc4b673 commit 0190ada

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

inc/field/dropdownfield.class.php

+3
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,9 @@ public function buildParams($rand = null) {
355355
if (isset($emptyItem->fields['otherserial'])) {
356356
$dparams['displaywith'][] = 'otherserial';
357357
}
358+
if ($itemtype === Ticket::class && !array_search('id', $dparams['displaywith'])) {
359+
$dparams['displaywith'][] = 'id';
360+
}
358361

359362
return $dparams;
360363
}

0 commit comments

Comments
 (0)