Ignore:
Timestamp:
01/18/10 19:38:55 (12 years ago)
Author:
korrco <korrco@…>
Branches:
master, qt5
Children:
707cd31
Parents:
18681b3
Message:

sorting by activity id added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mvc/eventmodel.cpp

    r18681b3 r64122f1  
    165165    {
    166166        qDebug() << "Loading Conference Data: [" << Conference::getById(aConferenceId).title() << "] " << aDate;
    167         mEvents = Event::getByDate(QDate(aDate.year(), aDate.month(), aDate.day()), aConferenceId);
     167        mEvents = Event::getByDate(QDate(aDate.year(), aDate.month(), aDate.day()), aConferenceId, Event::START);
    168168    }
    169169    createTimeGroups();
     
    188188    {
    189189        qDebug() << "Loading Conference Data (by Activities): [" << Conference::getById(aConferenceId).title() << "] " << aDate;
    190         mEvents = Event::getByDate(QDate(aDate.year(), aDate.month(), aDate.day()), aConferenceId);
     190        mEvents = Event::getByDate(QDate(aDate.year(), aDate.month(), aDate.day()), aConferenceId, Event::XID_ACTIVITY);
    191191    }
    192192    createActivityGroups();
Note: See TracChangeset for help on using the changeset viewer.