Incidencia #34214

sorting by ticket start date

Abrir Fecha: 2014-08-21 20:18 Última actualización: 2014-09-17 14:56

Informador:
(Anónimo)
Propietario:
Estado:
Cerrado
Componente:
Hito:
(Ninguno)
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Ninguno
Fichero:
Ninguno

Details

Hi, currently there is a possiblity to sort by milestone or component in the gantt calendar view. However, I would like to be able to sort by start date, so tickets with the nearest start date show first. Is something like that easily doable?

Thank you

Sava

Ticket History (3/5 Histories)

2014-08-21 20:18 Updated by: None
  • New Ticket "sorting by ticket start date" created
2014-08-23 18:42 Updated by: jun66j5
  • Propietario Update from (Ninguno) to jun66j5
Comentario

In r847, allow sorting with any field in gantt chart. Please try the latest of http://svn.sourceforge.jp/svnroot/shibuya-trac/plugins/ganttcalendarplugin/trunk/.

2014-08-27 15:20 Updated by: jun66j5
  • Estado Update from Open to Cerrado
  • Ticket Close date is changed to 2014-08-27 15:20
Comentario

I've improved for that. Closing....

2014-09-17 13:43 Updated by: None
Comentario

This is a simple patch about title of table.

#!diff
Index: ganttcalendar/templates/ganttcalendar_gantt.html
===================================================================
--- ganttcalendar/templates/ganttcalendar_gantt.html	(revision 856)
+++ ganttcalendar/templates/ganttcalendar_gantt.html	(working copy)
@@ -380,7 +380,7 @@
       <div style="position:absolute;background-color:gray;left:1px;top:1px;width:380px;height:${maxtic*px_ti+px_hd+1+px_height}px;">
         <div py:choose="" class="hdr" style="left:1px;top:1px;width: 89px;height:${px_hd-2}px;">
           <span class="hdr_title" style="top:${(px_hd-2-16)/2}px;font-size:12px;">
-            <span py:when="sorted_field=='milestone'">${_('Milestone')}</span><span py:otherwise="">${_('Component')}</span>
+            <span py:when="sorted_field=='milestone'">${_('Milestone')}</span><span py:otherwise="">${fields[sorted_field].label}</span>
           </span>
         </div>
         <div class="hdr" style="left:91px;top:1px;width:288px;height:${px_hd-2}px;"><span class="hdr_title" style="top:${(px_hd-2-16)/2}px;font-size:12px;">${_('Ticket')}</span></div>

It seems like the added feature is not clearly defined and implemented.


As always, thank you so much.

2014-09-17 14:56 Updated by: jun66j5
Comentario

This is a simple patch about title of table.

Good catch! Thanks for the reporting. Fixed in r857.

Attachment File List

No attachments

Editar

Please login to add comment to this ticket » Entrar