]> ToastFreeware Gitweb - toast/confclerk.git/blobdiff - src/gui/searchtabcontainer.cpp
Sorted by duration additionally to start.
[toast/confclerk.git] / src / gui / searchtabcontainer.cpp
index 9ba4965072b3ab086b41de8f4a8a76c4571cd764..86c9fccf52616175b00c0addfc05cc86d7a46b1d 100644 (file)
@@ -76,7 +76,7 @@ void SearchTabContainer::searchButtonClicked() {
     for(QDate d=startDate; d<=endDate; d=d.addDays(1))
     {
         try{
-            int count = Event::getSearchResultByDate(d, confId, "start").count();
+            int count = Event::getSearchResultByDate(d, confId, "start, duration").count();
             if(count && (firstDateWithFounds==endDate))
                 firstDateWithFounds=d;
             if(count)