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-7.0.0~2107 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e029b9eb91f096339c064329917e0cd600ad00c0;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) {