[Tickets #7037] improved sorting of recurring events

bugs at horde.org bugs at horde.org
Sun Jul 6 20:32:11 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/7037
------------------------------------------------------------------------------
  Ticket             | 7037
  Created By         | develop at kristov.de
  Summary            | improved sorting of recurring events
  Queue              | Kronolith
  Version            | 2.2
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              | 1
  Owners             |
+New Attachment     | horde-kronolith-2.2-sort.patch
------------------------------------------------------------------------------


develop at kristov.de (2008-07-06 16:32) wrote:

Assume you have an event which happens every Wednesday from
23:00-01:00. Assume further that you have a non-recurring event on a  
Thursday from 10:00-11:00. In the summary block and in the month view,  
the non-recurring event is listed before the recurring one. This is  
because for sorting the events, only the event's start time is used  
even if the event's start date is different (and 23:00 comes after  
10:00). The attached patch fixes this by changing  
Kronolith::_sortEventStartTime(): as listEvents() already returns  
recurring events with corrected timestamps, the timestamps can be  
directly used for sorting.






More information about the bugs mailing list