Project:Announcements
Version:6.x-1.0
Component:Code
Category:feature request
Priority:minor
Assigned:NancyDru
Status:closed (fixed)

Issue Summary

I just noticed that announcements are sorting differently on the announcement page, than on the announcement block: the page sorts descending from most recent at the top, while the block shows an ascending order. I am not sure if this was intentional or not, but its easy enough to adjust the query sort order from ASC to DESC in the announcements_block function to make the displays consistent.

This made me think that perhaps there could be an announcement setting to select the sort order for each display? Just an idea, though I expect most people would want DESC.

Thanks for a very useful module!

Comments

#1

Title:Date sorting for blocks and page» Date sorting options
Status:active» postponed (maintainer needs more info)

This was intentional. The idea being that the blocks would show the announcements ending the soonest (although it doesn't necessarily do that). The page is done in standard Drupal fashion, although I'm not crazy about that either. You're probably right that I need to add options for the order, so I am changing the title of this issue.

Does this sound like a good list of options?

  1. standard Drupal - sticky, created/updated date DESC
  2. by start date - sticky, start date ASC
  3. by end date - sticky, end date ASC
  4. latest - sticky, start date DESC

I'm not too sure about keeping "sticky" in the "latest" order.

#2

Assigned to:Anonymous» NancyDru
Status:postponed (maintainer needs more info)» fixed

Committed to both branches.

#3

Status:fixed» closed (fixed)

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

nobody click here