From: Andre Noll Date: Sat, 24 Nov 2007 12:01:45 +0000 (+0100) Subject: com_lsblob(): Fix sorting order. X-Git-Tag: v0.3.0~102 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=3de174c3e5798a520b7e1df79a1e26898a94b29e com_lsblob(): Fix sorting order. --- diff --git a/blob.c b/blob.c index a5ea93aa..8675ee73 100644 --- a/blob.c +++ b/blob.c @@ -100,9 +100,9 @@ static int com_lsblob_callback(struct osl_table *table, if (lbad.flags & BLOB_LS_FLAG_REVERSE) pmd.pm_flags |= PM_REVERSE_LOOP; if (!(lbad.flags & BLOB_LS_FLAG_SORT_BY_ID)) - pmd.loop_col_num = BLOBCOL_ID; - else pmd.loop_col_num = BLOBCOL_NAME; + else + pmd.loop_col_num = BLOBCOL_ID; ret = for_each_matching_row(&pmd); if (ret < 0) para_printf(&lbad.pb, "%s\n", PARA_STRERROR(-ret));