Author Topic: milestone sorting  (Read 1980 times)

sovteq

  • Newbie
  • *
  • Posts: 19
    • View Profile
milestone sorting
« on: January 27, 2009, 10:19:27 AM »
I have solved the problem about milestone sorting on taks list by due_date. Try to replace 455 line in og/yasks/main.js from:

Code: [Select]
if (groups[i].group_name.toUpperCase() > groups[j].group_name.toUpperCase()){
to:

Code: [Select]
if (this.getMilestone(groups[i].group_id).dueDate > this.getMilestone(groups[j].group_id).dueDate){

carlos

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Re: milestone sorting
« Reply #1 on: January 27, 2009, 04:55:55 PM »
Thanks, I have fixed this bug for v1.2 by adding a new case block for milestones only, which does the comparison you posted today

thanks anyway for the bugfix!

 

anything