From 08a32a4b10fd110f9555c7cf409eba48e0b244b3 Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Mon, 17 Aug 2015 10:17:43 -0500
Subject: [PATCH] topic: Fix sorting of alphabetical help topics in listing

---
 include/staff/helptopics.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/staff/helptopics.inc.php b/include/staff/helptopics.inc.php
index ab918d7a5..9839cc76e 100644
--- a/include/staff/helptopics.inc.php
+++ b/include/staff/helptopics.inc.php
@@ -8,7 +8,7 @@ $pageNav = new Pagenate($count, $page, PAGE_LIMIT);
 $pageNav->setURL('helptopics.php', $_qstr);
 $showing = $pageNav->showing().' '._N('help topic', 'help topics', $count);
 
-$order_by = ($cfg->getTopicSortMode() == 'm') ? 'sort' : 'topic';
+$order_by = 'sort';
 
 ?>
 <form action="helptopics.php" method="POST" name="topics">
-- 
GitLab