From bd24976cd675e3a606ddba65a46986b91dff5561 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 25 Jul 2006 22:35:38 +0000 Subject: [PATCH] r949: Need to specify the direction on both ORDER BYs --- includes/class_sort.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class_sort.php b/includes/class_sort.php index 5aad581..fcf265f 100644 --- a/includes/class_sort.php +++ b/includes/class_sort.php @@ -135,7 +135,7 @@ class ListSorter WHERE $basewhere" . (is_array($where) ? " AND " . implode("\nAND ", $where) : "") . " - ORDER BY " . $querykeys[ $this->sortkey ] . ($this->sortkey != 'lastpost' ? ", " . $querykeys['lastpost'] : "") . " " . strtoupper($this->direction) . ($limit ? " + ORDER BY " . $querykeys[ $this->sortkey ] . " " . strtoupper($this->direction) . ($this->sortkey != 'lastpost' ? ", " . $querykeys['lastpost'] : "") . " " . strtoupper($this->direction) . ($limit ? " LIMIT $limit" : ""); break; case 'product': -- 2.22.5