I have been searching for this answer a very long time, maybe I am overseeing the obvious, but how do I order the links on the Weblinks-page chronologically. I link to newspaper-articles so this is important. The block works perfect, but the page doesnt, why?

Theo Richel

Comments

rmiddle’s picture

Version: 5.x-1.7 » master
Component: Documentation » Code
Category: support » feature

This doesn't exists by default. I will add this as a Feature Request.

theorichel’s picture

Status: Active » Closed (fixed)

OK great. Thanks

rmiddle’s picture

Status: Closed (fixed) » Active

This is the feature request. Don't close the ticket until it has been created.

rmiddle’s picture

Title: Sorting by date » Add option to sort links by date
nancydru’s picture

Assigned: Unassigned » nancydru

Since I'm in that section, I'll take care of it. Actually, right now it sorts by weight and title, which IMHO is not right; this request is correct (and an easy fix). I will change it to "weight, sticky, created" as is the Drupal standard.

The block sorts on changed and title. That's probably reasonable for a "recent" block.

@rmiddle: I'm also marking this as needing a db_rewrite_sql. If you want I can go ahead and include that. My current feeling is to delay this until other things are checked out.

rmiddle’s picture

Nancy,

Go a head an make those changes. I have another project I am going to be working on today. Please put in a option to sort by title as that is how I currently handle it on my site and prefer that method myself. It doesn't have to be default just need to be there.

Thanks
Robert

nancydru’s picture

No problem. I've done it in a way that other sort orders could be introduced at any time with minimal changing.

rmiddle’s picture

Status: Active » Patch (to be ported)

Added to CVS for 6.x will need to backport to 5.x will hopefully get that done later this week.

Ticket #122135: Update themeing to include custom CSS support. contains the code.

rmiddle’s picture

Status: Patch (to be ported) » Fixed

Commited to 5 CVS. Will be in next release.

nancydru’s picture

Status: Fixed » Closed (fixed)