From e029b9eb91f096339c064329917e0cd600ad00c0 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 6 Mar 2010 11:01:34 +0100 Subject: [PATCH] Apply fix suggested by Andreas in bug #1502 for mediaview column sort problem --- bacula/src/qt-console/medialist/mediaview.cpp | 1 + 1 file changed, 1 insertion(+) 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) { -- 2.39.5