Opened 3 years ago
Last modified 4 months ago
#2554 new Defect
search index does not support sorting and order
| Reported by: | cash | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | Elgg 1.8.14 |
| Component: | Search | Version: | 1.7 |
| Severity: | trivial | Keywords: | |
| Cc: | brettp | Difficulty: | trivial |
Description (last modified by brettp)
The sort parameter is used for both sorting and order. See index.php:
$order = get_input('sort', 'desc');
if ($order != 'asc' && $order != 'desc') {
$order = 'desc';
}
Change History (4)
comment:1 Changed 2 years ago by cash
- Milestone changed from Elgg 1.8 to Elgg 1.8.1
comment:2 Changed 5 months ago by srokap
comment:3 Changed 5 months ago by brettp
- Description modified (diff)
- Milestone changed from Elgg 1.8.x to Elgg 1.8.13
comment:4 Changed 4 months ago by cash
- Milestone changed from Elgg 1.8.13 to Elgg 1.8.14
Note: See
TracTickets for help on using
tickets.

PR: https://github.com/Elgg/Elgg/pull/482