CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Date Sorting in Reports
Pages: [1]

Author Topic: Date Sorting in Reports  (Read 845 times)

markimus

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 0
Date Sorting in Reports
February 27, 2011, 12:13:55 pm
I have a date column in a report and I find oddly that the dats seem to sort around Month and not year.  So if I have a report that spans this year and one month of last year it automaitcally throws last years date to the bottom.  this is fin but if I am looking for a chronogical perspective they should be at the top.  Additionally the Dates within a month dont sort in order either... so Jan 10 2011 doesnt show up before jan 21 2011

How can I fix this? 
Success is the ability to go from one failure to another with no loss of enthusiasm.

Rajan Mayekar

  • I post frequently
  • ***
  • Posts: 177
  • Karma: 20
    • Rajan's Blogs
Re: Date Sorting in Reports
March 01, 2011, 09:59:23 pm
Probably by implementing function orderBy( )  you can do this ( @see: CRM/Report/Form/Contact/Summary .php  ).
Is it already existing report or your custom report?

Rajan

markimus

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 0
Re: Date Sorting in Reports
March 10, 2011, 01:39:30 pm
Its an existing report...
Success is the ability to go from one failure to another with no loss of enthusiasm.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Date Sorting in Reports

This forum was archived on 2017-11-26.