Opened 14 years ago
Last modified 14 years ago
#53 closed defect (FIXED)
Show media in reverse submitted order in galleries
Reported by: | Sebastian Spaeth | Owned by: | Sebastian Spaeth |
---|---|---|---|
Priority: | trivial | Milestone: | 0.0.2 |
Component: | Keywords: | ||
Cc: | Parent Tickets: |
Description
Main page and user page show media galleries. They should be showing them in reverse order they had been submitted and not according to ascending document id as they are now. For that we simply need to append: :: .sort({'created': -1}) to the find() query. While we are it, we should add :: .skip(0).limit(30); too (using variables with those defaults), so we can easily do pagination later.
Attachments (1)
Change History (6)
comment:2 by , 14 years ago
Milestone: | → 0.0.2 |
---|
by , 14 years ago
Attachment: | 0001-Show-images-in-reverse-submit-order.patch added |
---|
0001-Show-images-in-reverse-submit-order.patch
Note:
See TracTickets
for help on using tickets.