fixed sorting
authorMartin Vidner <mvidner@suse.cz>
Sun, 5 Nov 2006 21:48:06 +0000 (21:48 +0000)
committerMartin Vidner <mvidner@suse.cz>
Sun, 5 Nov 2006 21:48:06 +0000 (21:48 +0000)
src/zmart-misc.cc

index da9c4bb..20e90aa 100644 (file)
@@ -536,7 +536,7 @@ void list_updates( const ResObject::Kind &kind )
         << res->arch ().asString ();
       tbl << tr;
     }
-    tbl.sort (1);              // Name
+    tbl.sort (gSettings.is_rug_compatible? 3: 2); // Name
     cout << tbl;
   }
 }