<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
  <title>aC forum: Sort tickets by due date</title>
  <link>http://www.activecollab.com/forums/topic/5560/</link>
  <description>Recent posts on topic: Sort tickets by due date</description>
  <dc:language>en-us</dc:language>
  <pubDate>Thu, 24 May 2012 07:09:50 CDT</pubDate>
  
  <item>
    <link>http://www.activecollab.com/forums/post/24687/#post24687</link>
    <guid>http://www.activecollab.com/forums/post/24687/#post24687</guid>
    <title>Post #10 by Nirav M.</title>
    <dc:creator>Nirav Mehta</dc:creator>
    <description><![CDATA[<p>Super! Glad it's working as expected!</p>]]></description>
    <pubDate>Mon, 25 Jan 2010 02:08:05 CST</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/24680/#post24680</link>
    <guid>http://www.activecollab.com/forums/post/24680/#post24680</guid>
    <title>Post #9 by jurgenswaans</title>
    <dc:creator>jurgenswaans</dc:creator>
    <description><![CDATA[<p>Nirav, You certainly know what you are doing. It's working perfectly now!<br />
<br />
Thanks!<br />
<br />
Jurgen<br />
</p>]]></description>
    <pubDate>Sun, 24 Jan 2010 08:22:59 CST</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/24679/#post24679</link>
    <guid>http://www.activecollab.com/forums/post/24679/#post24679</guid>
    <title>Post #8 by Nirav M.</title>
    <dc:creator>Nirav Mehta</dc:creator>
    <description><![CDATA[<p>Hi Jurgen,<br />
<br />
Do similar change in the &quot;findOpenByProject&quot; function as well. That should make it work.<br />
<br />
:Nirav</p>]]></description>
    <pubDate>Sat, 23 Jan 2010 23:10:59 CST</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/24670/#post24670</link>
    <guid>http://www.activecollab.com/forums/post/24670/#post24670</guid>
    <title>Post #7 by jurgenswaans</title>
    <dc:creator>jurgenswaans</dc:creator>
    <description><![CDATA[<p>Hi Nariv,<br />
<br />
Changed the file, but it doesn't work. It might be because I have used a different hack earlier to get the due dates, etc. shown. See attachment.<br />
<br />
Jurgen<br />
</p>]]></description>
    <pubDate>Fri, 22 Jan 2010 16:36:16 CST</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/24669/#post24669</link>
    <guid>http://www.activecollab.com/forums/post/24669/#post24669</guid>
    <title>Post #6 by jurgenswaans</title>
    <dc:creator>jurgenswaans</dc:creator>
    <description><![CDATA[<p>thanks very much for your very clear and informative answer Nariv!</p>]]></description>
    <pubDate>Fri, 22 Jan 2010 16:21:57 CST</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/24658/#post24658</link>
    <guid>http://www.activecollab.com/forums/post/24658/#post24658</guid>
    <title>Post #5 by Nirav M.</title>
    <dc:creator>Nirav Mehta</dc:creator>
    <description><![CDATA[<p>Hi Jurgen,<br />
<br />
1. Changing the default sort order of tickets requires changing core source code of activeCollab. This is referred to as a &quot;hack&quot; to activeCollab. The hack I mentioned is a part of our Planning module. Planning module also adds support for estimated time and workflow status to tickets. <br />
<br />
2. The current linkage between Planning and Reports module is that you can see a graph of estimated time for your project in Reports module and compare it against the actual hours. Reports module does not yet show estimated times / allocations / availability for people. The simple reason for this is that a ticket can be assigned to multiple people, and we have no way to find out who's working how much on the ticket. Frankly, we also wanted to know resource availability / overbookings - but are limited currently. Once we figure out an easy way to assign time on a particular ticket to multiple people, we can accurately track their allocations.<br />
<br />
3. As for the specific hack to sort tickets by due date:<br />
<br />
- Open the &quot;Tickets.class.php&quot; file inside the models directory, within application/modules/tickets. <br />
- Locate the function &quot;findOpenByCategory&quot;<br />
- Locate the line <pre name="code" class="brush: php"> 'order' =&gt; 'ISNULL(position) ASC, position, priority DESC',</pre><br />
- Change it to <pre name="code" class="brush: php"> 'order' =&gt; 'due_on ASC, ISNULL(position) ASC, position, priority DESC',</pre><br />
- You can change it to &quot;due_on ASC&quot; if you want to sort in ascending order of due dates. Change it to &quot;due_on DESC&quot; if you want it to sort in descending order of due dates.<br />
- Save the file and upload to the server if needed<br />
<br />
Please be careful while making this change and take a backup of the file before making any changes.<br />
<br />
Hope this helps.<br />
<br />
:Nirav</p>]]></description>
    <pubDate>Thu, 21 Jan 2010 23:16:46 CST</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/24646/#post24646</link>
    <guid>http://www.activecollab.com/forums/post/24646/#post24646</guid>
    <title>Post #4 by jurgenswaans</title>
    <dc:creator>jurgenswaans</dc:creator>
    <description><![CDATA[<p>Hi Nirav,<br />
<br />
Am going to buy your module next week, but would like to sort it in ac itself too or is this feature added outside your module? About your reports module and estimated time. Is the estimated time you enter in planning module assigned to a person and can you that way see in reports if someone is planned for more than eg 40 hours in a week?<br />
<br />
I am not a programmer... you know where to add the hack for the time being?<br />
<br />
Jurgen</p>]]></description>
    <pubDate>Thu, 21 Jan 2010 14:12:25 CST</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/24635/#post24635</link>
    <guid>http://www.activecollab.com/forums/post/24635/#post24635</guid>
    <title>Post #3 by Nirav M.</title>
    <dc:creator>Nirav Mehta</dc:creator>
    <description><![CDATA[<p>Ticket hacks - that are part of Planning module - allow you to sort tickets by due dates. <br />
<br />
You would need to buy the Planning module to get them. <br />
<br />
If you always wanted them sorted by due date, you can hack the Tickets module (specifically the TicketsModel file) and add an appropriate ORDER BY clause.</p>]]></description>
    <pubDate>Wed, 20 Jan 2010 23:39:23 CST</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/24633/#post24633</link>
    <guid>http://www.activecollab.com/forums/post/24633/#post24633</guid>
    <title>Post #2 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>Hello Jurgen,<br />
<br />
Currently it is not possible to sort tickets by due date automatically. You are free to sort them any way you want by simply dragging them to a new position.</p>]]></description>
    <pubDate>Wed, 20 Jan 2010 16:12:14 CST</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/24631/#post24631</link>
    <guid>http://www.activecollab.com/forums/post/24631/#post24631</guid>
    <title>Post #1 by jurgenswaans</title>
    <dc:creator>jurgenswaans</dc:creator>
    <description><![CDATA[<p>Hi Ilija,<br />
One request I have... is it possible to order the tickets on the overview page assorte to due date?<br />
Jurgen</p>]]></description>
    <pubDate>Wed, 20 Jan 2010 15:50:18 CST</pubDate>
  </item>
</channel>
</rss>
