Sort by creation date with descending order:

andre75 - February 21, 2008 - 17:50
Project:Acidfree Albums
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I tried to put this into the module (http://drupal.org/node/223657), but the pager came up all wrong. I was hoping to use this feature to sort my albums, as the sorting by weight is not supported anymore and the ascending order requires too many changes (plus new pictures should be put first).

#1

andre75 - February 22, 2008 - 17:44

Well, I figured it out and here is the patch. I would really appreciate it, if this could become part of the official release (after some checking). I think it may be useful to others as well, since you can use this to sort (changing the post dates around) and at the same time have new images added at the top of an album.

AttachmentSize
acidfree.patch2.12 KB

#2

andre75 - February 22, 2008 - 17:45
Title:Sort by creation date with descending order.» Sort by creation date with descending order:
Status:active» patch (code needs review)

Changing the status to patch review

#3

vhmauery - February 25, 2008 - 05:30

Here's a better solution, which allows for more sorting options. Give it a whirl and let me know what you think.

AttachmentSize
updated_sorting.patch3.88 KB

#4

vhmauery - March 4, 2008 - 06:20
Status:patch (code needs review)» fixed

My patch was committed to CVS.

#5

andre75 - March 9, 2008 - 19:52

Great. I am going to check it out soon. Thanks for looking at this!

#6

Anonymous (not verified) - March 23, 2008 - 20:01
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.