Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Milestone Order on GANTT #43

Open
ReidCarlberg opened this issue Dec 19, 2011 · 3 comments
Open

Milestone Order on GANTT #43

ReidCarlberg opened this issue Dec 19, 2011 · 3 comments

Comments

@ReidCarlberg
Copy link
Contributor

right now it's alphabetical, should be date driven and offer the ability to change the sort order at the chart level.

@johnnorman
Copy link

Would be great to have drag and drop as well, but Date driven makes great sense.

@DanPHaigh
Copy link

I see that the Milestone order on the Gantt chart is alphabetical. Will you be updating the system so that the order is by date?

@gdbarckley
Copy link

I know this is crazy old but I just wanted to put this here because the best way to organize that Gantt is by Date. I spent a day figuring it out and wanted to put my results somewhere.
Milestones PM has two Start Date fields Kickoff__c and Start_Date__c so you can't just input those following "order by" you actually need to use their startDateFieldName. The code will then sort by Start Date regardless of the field name and it will looks like this (starting at line 119):

String query = 'Select '+idFieldName+','+startDateFieldName+','+endDateFieldName+','+nameFieldName+','+completedFieldName+
' from '+objectType+ ' where '+filterFieldName+'=''+mytarget+'' order by '+startDateFieldName+'';

Hope that saves some time for y'all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants