From f142623b61950f21ed3c8b7d4b9711554e575419 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