My favorites | Sign in
Project Logo
             
New issue | Search
for
| Advanced search | Search tips
Issue 36: Comments on main dashboard are unsorted
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by ske...@ImmersiveTechnologies.com, Jan 25, 2009
What steps will reproduce the problem?
1. Login into WF admin area
2. Notice that comments are not sorted in date order

What is the expected output? What do you see instead?

The comments on the main dashboard page should be sorted in reverse date 
order - either on the updated or created dates

What version of the product are you using? On what operating system?

Latest 1.3b1 version on git hub (as of 26/01/209)

Please provide any additional information below.

This looks like it needs an order clause on the find() call in 
wild_dashboards_controller.php.  ie:

$comments = $this->WildComment->find('all', array('limit' => 5, 
'conditions' => 'spam = 0', 'order' => array('WildComment.updated DESC')));

This might also be needed for the messages, too?


Sign in to add a comment

Hosted by Google Code