From 7197592402257bc828fec018ecac4edc31548712 Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Mon, 18 Apr 2016 21:30:09 -0500 Subject: [PATCH] oops: Fix manual sort on help topic admin listing page --- include/staff/helptopics.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/staff/helptopics.inc.php b/include/staff/helptopics.inc.php index 3116e5016..d356542c4 100644 --- a/include/staff/helptopics.inc.php +++ b/include/staff/helptopics.inc.php @@ -100,7 +100,8 @@ $order_by = 'sort'; $names[$topic->getId()] = $topic->getFullName(); $topics[$topic->getId()] = $topic; } - $names = Internationalization::sortKeyedList($names); + if ($cfg->getTopicSortMode() != 'm') + $names = Internationalization::sortKeyedList($names); $defaultDept = $cfg->getDefaultDept(); $defaultPriority = $cfg->getDefaultPriority(); -- GitLab