Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

A couple of menu glitches, where selecting the status column would re…

…order by starter(!) and also that the department link wasn't always included properly in the grid sorting.
  • Loading branch information...
commit b082afb3bf27c5017ad85120f56dcf396fb59be7 1 parent f806480
@Arantor Arantor authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 sd_template/SimpleDesk.template.php
View
4 sd_template/SimpleDesk.template.php
@@ -433,7 +433,7 @@ function template_ticket_block()
break;
case 'status':
echo '
- <td width="17%" class="shd_nowrap"><img src="', $settings['default_images_url'], '/simpledesk/status.png" class="shd_smallicon" alt="" /> ', template_shd_menu_header('starter', $txt['shd_ticket_status']), '</td>';
+ <td width="17%" class="shd_nowrap"><img src="', $settings['default_images_url'], '/simpledesk/status.png" class="shd_smallicon" alt="" /> ', template_shd_menu_header('status', $txt['shd_ticket_status']), '</td>';
break;
case 'urgency':
echo '
@@ -614,7 +614,7 @@ function template_shd_menu_header($header, $string)
$link .= ';so_' . $block_key . '=' . ($block_key != $context['current_block'] ? $block['sort']['item'] : $header) . '_' . $link_direction;
}
- $html = '<a href="' . $scripturl . '?action=helpdesk;sa=' . $_REQUEST['sa'] . ($_REQUEST['sa'] == 'viewblock' ? ';block=' . $_REQUEST['block'] : '') . $link . '">' . $string . '</a> ';
+ $html = '<a href="' . $scripturl . '?action=helpdesk;sa=' . $_REQUEST['sa'] . ($_REQUEST['sa'] == 'viewblock' ? ';block=' . $_REQUEST['block'] : '') . $link . $context['shd_dept_link'] . '">' . $string . '</a> ';
if ($context['ticket_blocks'][$context['current_block']]['sort']['item'] == $header)
{
Please sign in to comment.
Something went wrong with that request. Please try again.