Patch #12730
open
Fix sorting and PDF output of Gantt diagram & start date calculation and grouping
Added by Tobias Droste almost 12 years ago.
Updated almost 2 years ago.
Description
This patch does several things:
- Fixes the sorting of issues so that the oldest one are on top and the newer ones are at the bottom
- Fixes the PDF output for short items where the length of the bar would be 0 or negative with the old calculation
- If no start date is given the date of the first issue in the query is used and the month count is set to include all issues (max. 48)
- Keeps the query from other views and respects the grouping to group items in the diagram too (see Screenshot). If a query has no grouping the view is the same as in the original version.
It passes all test that are available for the Gantt diagram.
(I could split it into 4 patches and provide more screenshots if there's interest)
Files
This (mostly) fixes following tickets:
Hi Tobias,
thanks for this patch and your search.
I added the relations. I will try this patch and give a short feedback.
Best regards,
Daniel
Hi,
the path works good. But the grouping of gantt doesn't seem to work?
I tested this with r11114.
I also tried this in combination with #3436. Which seems to work, after a manual merge.
Some UI enhancements:
- the grouping box should be hidden by default as in every other modul
Best regards,
Daniel
Tobias Droste wrote:
(I could split it into 4 patches and provide more screenshots if there's interest)
Please split and post it to each issues.
Toshi MARUYAMA wrote:
Please split and post it to each issues.
Ok.
Daniel Felix wrote:
the path works good. But the grouping of gantt doesn't seem to work?
I tested this with r11114.
It should work, I tested it with r11113.
As Toshi MARUYAMA suggested I will split the patch.
And I make some additional changes to the grouping.
So see this patch as deprecated for now.
Daniel Felix wrote:
Some UI enhancements:
- the grouping box should be hidden by default as in every other modul
I will change that.
Thanks for the feedback and testing and I will post a new split version to the corresponding tickets. (Probably tomorrow)
I'm attaching the patch to fix PDF output and the patch to calculate 'month from' and 'month count' here, because there are no tickets for this yet.
The other two are attached to these two tickets:
#347
#8366
Thank you for your great work. I will try your patches soon (this weekend or maybe monday). Thank you for your work!
- Assignee set to Jean-Philippe Lang
- Target version set to Candidate for next major release
Maybe Toshi or Jean-Philippe could take a look at the provided patches.
Would be nice to see this fixed. I tried most of them in my Redmine 2.2.1 and they work properly.
Hi folks,
how is the status of this issue? As Daniel Felix said, he tested the patch successful. Is there a certain reason, why it won't be included in the next major release (2.3.0) ?
I guess lots of people are facing these problems (mainly the gantt-sorting). It would be nice if someone would give an update.
I'm not a good ruby-hacker yet, but if I can support you with some tests or so, I'm available.
Regards
Dominik
I see this was a candidate for a major release a long time ago I've also commented on issue 347 [[https://www.redmine.org/issues/347]], I'm on version 4.1.1 and it's still not possible to group per user for instance on Gantt view. Has this been carried forward, do I need to configure something to enable this or was this feature abandoned?
Also available in: Atom
PDF