aboutsummaryrefslogtreecommitdiff
path: root/mod/search/pages
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2013-02-01 10:49:06 -0800
committerCash Costello <cash.costello@gmail.com>2013-02-01 10:49:06 -0800
commit9b8839602051aa1b5c441695ae897c0b049ff889 (patch)
treebaad763aa565ed23d9b9094480975c4d37c7de14 /mod/search/pages
parent90ba43e54728982a23dd78dbbb07f5a1d88d9d10 (diff)
parentb2724f7300902034398f534e55975b3487e3a235 (diff)
downloadelgg-9b8839602051aa1b5c441695ae897c0b049ff889.tar.gz
elgg-9b8839602051aa1b5c441695ae897c0b049ff889.tar.bz2
Merge pull request #482 from Srokap/ticket_2554
Fixes #2554 - Adds search support for sorting and order
Diffstat (limited to 'mod/search/pages')
-rw-r--r--mod/search/pages/search/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/search/pages/search/index.php b/mod/search/pages/search/index.php
index fcd95c43e..ede09329b 100644
--- a/mod/search/pages/search/index.php
+++ b/mod/search/pages/search/index.php
@@ -63,7 +63,7 @@ switch ($sort) {
break;
}
-$order = get_input('sort', 'desc');
+$order = get_input('order', 'desc');
if ($order != 'asc' && $order != 'desc') {
$order = 'desc';
}