

![]() |
| | LinkBack | Thread Tools | Display Modes |
| ||||
| works like a charm savant, thanks! |
| |||
| Awesome Sorting Search by date should get rid of the Categories.... thnks |
| |||
| thanks savant. if i went to sort by vote number. how can i do it. |
| |||
| Same question from me. Looking for item with most votes to appear first, then second most votes... |
| |||
| Is this really working in version 9.8.2? It does not work on my site (and it did before). |
| ||||
| Savant's s/asort/arsort/ suggestion does indeed work fine on 9.8.2 |
| |||
| Works nicely for using the search box but when I use tags which uses the search script as well If I click on a tag, its still sorted with oldest first. UPDATE: ok around link 212 or there abouts in /libs/search.php I see you can change Code: $where = " AND ".$sq." GROUP BY " . table_links . ".link_id, `link_votes` ORDER BY `link_votes` DESC"; Code: // $where = " AND ".$sq." GROUP BY " . table_links . ".link_id, `link_votes` ORDER BY `link_votes` DESC"; $where = " AND ".$sq." GROUP BY " . table_links . ".link_id, `link_date` ORDER BY `link_date` DESC"; Last edited by sefs; 11-22-2007 at 08:18 AM. |
| |||
| This is pretty crazy. How can something of such obvious need and such easy fix for the dev team, not have been included in any recent versions? It's just so obvious how it should be. Actually, EVERY query should use the same algorithm as "Top Stories" and "Submitted Stories". That's what makes the best sense. I really want to do that for my queries that result from clicking on a tag. If anyone knows how to do that, I'd really appreciate it. |
| |||
| Yup. Worth repeating. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Let the user sort the search results by different ways? | Niko | Questions and Comments | 0 | 11-17-2007 03:49 AM |
| Search Yields Too Many Results | mitchb13 | Questions and Comments | 0 | 04-02-2007 02:40 PM |
| tag and search results prob | chad90382 | Questions and Comments | 3 | 11-29-2006 08:08 PM |
| Search: No Results | konakevin | Questions and Comments | 21 | 07-06-2006 01:12 AM |