Fixed: (this works for any column view if edited correctly)
need to create a new row in DB (ost_config - show_assigned_to(TINYINT))
edit "include\staff\preference.inc.php"
in one of the tables add:
Show Assigned To:
>
Display the Ticket Created date column on the SCP Ticket view.
edit "include\class.config.php"
Create a new function:
function showAssignedTo() {
return $this->config?true;
}
under:
//We are good to go...blanket update!
$sql= 'UPDATE '.CONFIG_TABLE.' SET isonline='.db_input($var).
add:
',show_assigned_to='.db_input(isset($var)?1).
edit "include\staff\ticket.inc.php"
replace:
<?=$qstr?>" title="Sort By Assignee <?=$negorder?>">Assigned To
with:
<? if($cfg->showAssignedTo()) {?>
<?=$qstr?>" title="Sort By Assignee <?=$negorder?>">Assigned To
<?}?>
also replace
<?=($row) ? $row : ' ';?> <?=($row) ? $row : '';?>
with:
<? if($cfg->showAssignedTo()) {?>
<?=($row) ? $row : ' ';?> <?=($row) ? $row : '';?>
<?}?>