sort by share in burn sort by host *AND* share (not just share)
authordpavlin <dpavlin@8392b6e1-25fa-0310-8288-cc32f8e212ea>
Mon, 24 Oct 2005 14:02:00 +0000 (14:02 +0000)
committerdpavlin <dpavlin@8392b6e1-25fa-0310-8288-cc32f8e212ea>
Mon, 24 Oct 2005 14:02:00 +0000 (14:02 +0000)
git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@225 8392b6e1-25fa-0310-8288-cc32f8e212ea

lib/BackupPC/SearchLib.pm

index e9d3065..58e9b02 100644 (file)
@@ -150,8 +150,8 @@ my $sort_def = {
        }, burn => {
                default => 'date_a',
                sql => {
-                       share_d => 'share DESC',
-                       share_a => 'share ASC',
+                       share_d => 'host DESC, share DESC',
+                       share_a => 'host ASC, share ASC',
                        num_d => 'backupnum DESC',
                        num_a => 'backupnum ASC',
                        date_d => 'date DESC',