https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292009-07-08T03:22:37ZRedmineRedmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=100722009-07-08T03:22:37ZVladimir Goryachev
<ul><li><strong>Assignee</strong> set to <i>Jean-Philippe Lang</i></li></ul><p>Yes, very ugly bug.<br />Please fix.</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=100762009-07-08T07:03:08ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Assignee</strong> deleted (<del><i>Jean-Philippe Lang</i></del>)</li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>Low</i></li></ul><p>Please do not assign tickets to anyone.</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=100942009-07-09T18:58:57ZPaul McMillan
<ul></ul><p>+1</p>
<p>This issue also affects me.</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=137992010-01-24T21:07:57ZKai Krakow
<ul></ul><p>Please fix, still an issue in 0.9</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=171932010-06-07T17:26:52ZS Reid
<ul></ul><p>Just upgraded to 0.9, and found this problem. Is this scheduled to be fixed ?</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=172262010-06-08T20:46:06ZOndrej Hrebicek
<ul></ul><p>Would love to see this fixed as well. Really makes the grouped view (when grouping by Version) impossible to use.</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=271442011-03-25T14:42:26ZBrian Lacy
<ul></ul><p>I just want to confirm that I'm still experiencing the same problem. Our most crucial report Groups by Target Version, and the default order is backwards! We have to scroll to the bottom of the report to see our most current Release. Very frustrating.</p>
<p>Redmine 1.0.4.stable.4552 (MySQL)</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=276722011-04-07T12:22:15ZS Reid
<ul></ul><p>Still an issue as of 1.1.1. Annoying when using group by target version, and have several pages of issues.</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=283202011-04-26T16:02:54ZEtienne Massip
<ul><li><strong>Target version</strong> set to <i>Candidate for next major release</i></li></ul> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=285252011-04-30T15:40:22ZCyber Sprocket
<ul></ul><p>bump.</p>
<p>Group by target version is an issue on our larger projects. Newer target versions, that we add later in the cycle, are sorting to the stop of the group-by list. Thus the current/active release always are pushed down near the bottom.</p>
<p>Sorting by target version should either sort alpha-numeric ascending (so v01.10 would show up before v01.20) or even better would be to make the system sort by release date if target version is the grouping (much like road map & settings/versions).</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=317072011-08-24T07:54:54ZEtienne Massip
<ul><li><strong>Tracker</strong> changed from <i>Defect</i> to <i>Feature</i></li></ul> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=317082011-08-24T07:55:09ZEtienne Massip
<ul><li><strong>Subject</strong> changed from <i>Can't sort issues by grouped column</i> to <i>Ability to sort issues by grouped column</i></li></ul> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=324972011-09-26T12:09:03ZStefan Lindner
<ul></ul><p>We too need a fix for this. Or, as it is a feature from now, we need this feature.</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=328142011-10-12T09:08:55ZHans Jakobsen
<ul></ul><p>+1<br />This is an important feature, so you can view the full Issue list like a roadmap. Please give it high priority so it can be included soon.</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=334602011-11-02T15:29:41ZAlain V.
<ul></ul><p>+1<br />Quite important I think to have a nice view.</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=334762011-11-03T09:01:10ZToggi Muppet
<ul></ul><p>+ 1<br />Annoying when using issues with customer that the highest version comes on top.</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=350322011-12-25T22:22:38ZAdam Sneller
<ul></ul><p>+ 1<br />The nice thing about grouping issues by version is that the unassigned issues form a product backlog. It would be helpful if these groupings could be sorted so that the current sprint/version is first on the list.</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=362312012-02-22T07:58:09ZStéphane Thomas
<ul></ul><p>+1</p>
<p>In the meantime, I've added the following patch in a new file <code>config/initializers/versions.rb</code>:</p>
<pre>
require 'app/models/query'
class Query < ActiveRecord::Base
after_initialize :reset_versions_order
# Updates the list of available columns to specify ascending as order for versions
def reset_versions_order
@@available_columns[10] = QueryColumn.new(:fixed_version, :sortable => ["#{Version.table_name}.effective_date", "#{Version.table_name}.name"], :default_order => 'asc', :groupable => true)
end
end
</pre>
<p>But maybe you can think of a better way to update this list of columns (those are my very first lines of code in RoR)?</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=375992012-04-20T18:29:08ZAnonymous
<ul></ul><p>+1</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=377842012-04-30T16:41:06ZNicola Bernardini
<ul></ul><p>+1</p>
<p>I tried the patch by Stèphane but it does not work for me... Or at least I don't know how to make it work...</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=379862012-05-07T16:39:16ZSimeon Fitch
<ul></ul><p>+1</p>
<p>Major efficiency impediment. Anyone have a temporary work around?</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=380182012-05-09T08:39:30ZStéphane Thomas
<ul></ul><p>I've just updated to Redmine 1.4.1 and indeed my patch did not work any more. Here is a new one:</p>
<pre>
require 'app/models/query'
class Query < ActiveRecord::Base
# Updates the list of available columns to specify ascending as order for versions
def after_initialize
@@available_columns[10] = QueryColumn.new(:fixed_version, :sortable => ["#{Version.table_name}.effective_date", "#{Version.table_name}.name"], :default_order => 'asc', :groupable => true)
end
end
</pre> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=380522012-05-10T14:02:14ZStéphane Thomas
<ul><li><strong>File</strong> <a href="/attachments/7585">redmine_issue_versions_order.zip</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/7585/redmine_issue_versions_order.zip">redmine_issue_versions_order.zip</a> added</li></ul><p>Since I've encountered some weird errors with this new patch when browsing issues, I did repackage it as a plugin. Enjoy!</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=384292012-05-24T15:55:05ZRick Hunnicutt
<ul></ul><p>Great, thank you! Just unzip it in the plugin directory and restart redmine?</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=384302012-05-24T16:01:43ZStéphane Thomas
<ul></ul><p>That's it, Rick!</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=384332012-05-24T16:45:21ZRick Hunnicutt
<ul></ul><p>So, just to be clear, this plugin only changes the sort order of the Versions from descending to ascending. It doesn't add the ability to (re)sort the groups in any way.</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=392862012-06-26T03:48:49ZAnthony S
<ul></ul><p>In the description of this issue there is an attached file "redmine_issue_versions_order.zip" <br />How do I apply the patch in it? And does it work in 2.0?</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=402622012-08-08T21:46:28ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Target version</strong> changed from <i>Candidate for next major release</i> to <i>2.2.0</i></li></ul> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=409752012-09-18T06:14:21ZJonathan Vargas
<ul></ul><p>+1. Please consider Stéphane patch but apply it to a more general use case when sorting group-by's</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=410032012-09-18T16:59:27ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><p>The sort order when grouping by version is fixed in 2.1.0, it's now ascending.</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=424652012-10-29T14:10:34ZDaniel Felix
<ul></ul><p>Jean-Philippe Lang wrote:</p>
<blockquote>
<p>The sort order when grouping by version is fixed in 2.1.0, it's now ascending.</p>
</blockquote>
<p>But currently there is no way to define (by click) a descending order on some grouped field, or?</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=424802012-10-29T18:33:44ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Assignee</strong> set to <i>Jean-Philippe Lang</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Implemented in <a class="changeset" title="Ability to sort issues by grouped column (#3511)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/10765">r10765</a>. You can sort issues by the grouped column in order to display groups in reverse order.</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=424832012-10-29T19:37:40ZJonathan Vargas
<ul></ul><p>Thanks!</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=424882012-10-30T05:13:00ZDaniel Felix
<ul></ul><p>Thanks. Just tested! Works for me. :-)</p> Redmine - Feature #3511: Ability to sort issues by grouped columnhttps://www.redmine.org/issues/3511?journal_id=504352013-07-10T08:51:50ZRadhakrishna M
<ul></ul><p>Stéphane Thomas wrote:</p>
<blockquote>
<p>+1</p>
<p>In the meantime, I've added the following patch in a new file <code>config/initializers/versions.rb</code>:</p>
<p>[...]</p>
<p>But maybe you can think of a better way to update this list of columns (those are my very first lines of code in RoR)?</p>
</blockquote>
<p>Can we sort the Reports in user name order likewise? how to ?</p>