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