Merge remote-tracking branch 'origin/0.9.31'
This commit is contained in:
@@ -44,15 +44,11 @@ if($page == 'overview') {
|
|||||||
$log->logAction(USR_ACTION, LOG_NOTICE, "viewed customer_tickets::tickets");
|
$log->logAction(USR_ACTION, LOG_NOTICE, "viewed customer_tickets::tickets");
|
||||||
$fields = array(
|
$fields = array(
|
||||||
'status' => $lng['ticket']['status'],
|
'status' => $lng['ticket']['status'],
|
||||||
'priority' => $lng['ticket']['priority'],
|
|
||||||
'lastchange' => $lng['ticket']['lastchange'],
|
'lastchange' => $lng['ticket']['lastchange'],
|
||||||
'ticket_answers' => $lng['ticket']['ticket_answers'],
|
|
||||||
'subject' => $lng['ticket']['subject'],
|
'subject' => $lng['ticket']['subject'],
|
||||||
'lastreplier' => $lng['ticket']['lastreplier']
|
'lastreplier' => $lng['ticket']['lastreplier']
|
||||||
);
|
);
|
||||||
$paging = new paging($userinfo, TABLE_PANEL_TICKETS, $fields, $settings['panel']['paging'], $settings['panel']['natsorting']);
|
$paging = new paging($userinfo, TABLE_PANEL_TICKETS, $fields, $settings['panel']['paging'], $settings['panel']['natsorting']);
|
||||||
$paging->sortfield = 'lastchange';
|
|
||||||
$paging->sortorder = 'desc';
|
|
||||||
$stmt = Database::prepare('SELECT `main`.`id`, (SELECT COUNT(`sub`.`id`) FROM `' . TABLE_PANEL_TICKETS . '` `sub`
|
$stmt = Database::prepare('SELECT `main`.`id`, (SELECT COUNT(`sub`.`id`) FROM `' . TABLE_PANEL_TICKETS . '` `sub`
|
||||||
WHERE `sub`.`answerto` = `main`.`id`) AS `ticket_answers`, `main`.`lastchange`, `main`.`subject`, `main`.`status`, `main`.`lastreplier`, `main`.`priority`
|
WHERE `sub`.`answerto` = `main`.`id`) AS `ticket_answers`, `main`.`lastchange`, `main`.`subject`, `main`.`status`, `main`.`lastreplier`, `main`.`priority`
|
||||||
FROM `' . TABLE_PANEL_TICKETS . '` as `main`
|
FROM `' . TABLE_PANEL_TICKETS . '` as `main`
|
||||||
|
|||||||
@@ -39,11 +39,11 @@ $header
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{$lng['ticket']['lastchange']} {$arrowcode['lastchange']}</th>
|
<th>{$lng['ticket']['lastchange']} {$arrowcode['lastchange']}</th>
|
||||||
<th>{$lng['ticket']['ticket_answers']} {$arrowcode['ticket_answers']}</th>
|
<th>{$lng['ticket']['ticket_answers']}</th>
|
||||||
<th>{$lng['ticket']['subject']} {$arrowcode['subject']}</th>
|
<th>{$lng['ticket']['subject']} {$arrowcode['subject']}</th>
|
||||||
<th>{$lng['ticket']['status']} {$arrowcode['status']}</th>
|
<th>{$lng['ticket']['status']} {$arrowcode['status']}</th>
|
||||||
<th>{$lng['ticket']['lastreplier']} {$arrowcode['lastreplier']}</th>
|
<th>{$lng['ticket']['lastreplier']} {$arrowcode['lastreplier']}</th>
|
||||||
<th>{$lng['ticket']['priority']} {$arrowcode['priority']}</th>
|
<th>{$lng['ticket']['priority']}</th>
|
||||||
<th>{$lng['panel']['options']}</th>
|
<th>{$lng['panel']['options']}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|||||||
@@ -39,11 +39,11 @@ $header
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{$lng['ticket']['lastchange']} {$arrowcode['lastchange']}</th>
|
<th>{$lng['ticket']['lastchange']} {$arrowcode['lastchange']}</th>
|
||||||
<th>{$lng['ticket']['ticket_answers']} {$arrowcode['ticket_answers']}</th>
|
<th>{$lng['ticket']['ticket_answers']}</th>
|
||||||
<th>{$lng['ticket']['subject']} {$arrowcode['subject']}</th>
|
<th>{$lng['ticket']['subject']} {$arrowcode['subject']}</th>
|
||||||
<th>{$lng['ticket']['status']} {$arrowcode['status']}</th>
|
<th>{$lng['ticket']['status']} {$arrowcode['status']}</th>
|
||||||
<th>{$lng['ticket']['lastreplier']} {$arrowcode['lastreplier']}</th>
|
<th>{$lng['ticket']['lastreplier']} {$arrowcode['lastreplier']}</th>
|
||||||
<th>{$lng['ticket']['priority']} {$arrowcode['priority']}</th>
|
<th>{$lng['ticket']['priority']}</th>
|
||||||
<th>{$lng['panel']['options']}</th>
|
<th>{$lng['panel']['options']}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|||||||
Reference in New Issue
Block a user