Ignore:
Timestamp:
10/17/11 23:49:51 (11 years ago)
Author:
Philipp Spitzer <philipp@…>
Branches:
master, qt5
Children:
018d4d6
Parents:
11d7ec5
Message:

Sorted by duration additionally to start.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mvc/eventmodel.cpp

    r11d7ec5 r9196cb0  
    242242    if(Conference::getAll().count())
    243243    {
    244         mEvents = Event::getByDate(QDate(aDate.year(), aDate.month(), aDate.day()), aConferenceId, "start");
     244        mEvents = Event::getByDate(QDate(aDate.year(), aDate.month(), aDate.day()), aConferenceId, "start, duration");
    245245    }
    246246    createTimeGroups();
     
    265265    {
    266266        try{
    267             mEvents = Event::getSearchResultByDate(QDate(aDate.year(), aDate.month(), aDate.day()), aConferenceId, "start");
     267            mEvents = Event::getSearchResultByDate(QDate(aDate.year(), aDate.month(), aDate.day()), aConferenceId, "start, duration");
    268268        }
    269269        catch( OrmException &e  ){
     
    286286    if (Conference::getAll().count())
    287287    {
    288         mEvents = Event::getByDate(QDate(aDate.year(), aDate.month(), aDate.day()), aConferenceId, "xid_track, start");
     288        mEvents = Event::getByDate(QDate(aDate.year(), aDate.month(), aDate.day()), aConferenceId, "xid_track, start, duration");
    289289    }
    290290    createTrackGroups();
Note: See TracChangeset for help on using the changeset viewer.