dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #26567
Re: sequencing of events
Abyot and I discussed a bit, short-term approach will be to
- change executiondate from date to timestamp
- use the existing index on that column to do sorting in a fast way
- hide the sorting operation between an interface
This way the timestamp (executiondate) sort of becomes the sequence number.
Lars
On Fri, Nov 22, 2013 at 2:11 PM, Abyot Gizaw <abyota@xxxxxxxxx> wrote:
> Hi guys,
>
> I am wondering if there is an easy way of sequencing events?
>
> Currently, it seems one has to do it using event dates. This means every
> time, I need to go back and forth between events then I have to load all
> the events and sort them by date and see what comes before and after my
> current event. I don't think this is quite efficient. Why don't we have
> eventSequence number?
>
> Thank you,
> Abyot.
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help : https://help.launchpad.net/ListHelp
>
>
References