From: Kern Sibbald Date: Sat, 6 Mar 2010 10:01:34 +0000 (+0100) Subject: Apply fix suggested by Andreas in bug #1502 for mediaview column sort problem X-Git-Tag: Release-5.0.2~173 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f142623b61950f21ed3c8b7d4b9711554e575419;p=bacula%2Fbacula Apply fix suggested by Andreas in bug #1502 for mediaview column sort problem --- diff --git a/bacula/src/qt-console/medialist/mediaview.cpp b/bacula/src/qt-console/medialist/mediaview.cpp index b3fb58c7ee..14b56802b3 100644 --- a/bacula/src/qt-console/medialist/mediaview.cpp +++ b/bacula/src/qt-console/medialist/mediaview.cpp @@ -311,6 +311,7 @@ void MediaView::populateTable() + cmd + " ORDER BY VolumeName LIMIT " + m_sbLimit->cleanText(); + m_tableMedia->sortByColumn(0, Qt::AscendingOrder); m_tableMedia->setSortingEnabled(false); /* Don't sort during insert */ results.clear(); if (mainWin->m_sqlDebug) {