Here are the versions of osTicket and PHP :
osTicket Version v1.14.1 (f1e9e88) — Up to date
Web Server Software Microsoft-IIS/8.5
MySQL Version 5.5.45
PHP Version 7.3.7
Open ticket page
I want to get other data such as Updated(DateTime), Last Poster into Primary Source field on menu Manage Queue Column > Data config
the value reference from
1.ticket/Updated (get DateTime)
2.thread_entry/poster (get name last poster to use Post Internal Note Form)
Updated
Poster
Now, Not avaliable to choose value in drop-down list field
I'm try search about class in code
Can't Mod code because dynamics form
class.queue.php
class QueueColDataConfigForm
extends AbstractForm {
function buildFields() {
return array(
'primary' => new DataSourceField(array(
'label' => __('Primary Data Source'),
'required' => true,
'configuration' => array(
'root' => 'Ticket',
),
'layout' => new GridFluidCell(6),
)),
class DataSourceField
extends ChoiceField {
function getChoices($verbose=false) {
$config = $this->getConfiguration();
$root = $config['root'];
$fields = array();
foreach (CustomQueue::getSearchableFields($root) as $path=>$f) {
list($label,) = $f;
$fields[$path] = $label;
}
return $fields;
}
}
@@@ Thank you for all Reply @@@