FinalsClub / karmaworld

KarmaNotes.org v3.0
GNU Affero General Public License v3.0
7 stars 6 forks source link

default sort options #351

Closed btbonval closed 10 years ago

btbonval commented 10 years ago

Course list should default sort by popularity (most popular first), note list should default sort by date (most recent first).

This is a fairly simple change to some code, but the code might get refactored.

Change column "2" to the appropriately numbered column for whichever case.

It might be better to wait until this code is refactored so it needs to be changed in fewer places.

william-bratches commented 10 years ago

Issue easily resolved for the splash page and search results, but the note listing in the course detail is proving to be pesky. The course-detail.js options don't appear to affect the list at all (I even tried making all table elements invisible to make sure i was on the right page). I tried to grep "aaSorting" but didn't find anything useful other than three documents listed here. I'm going to keep searching.