* fix sorting, some small cleanups

This commit is contained in:
Dirk-Jan C. Binnema
2010-11-23 23:52:37 +02:00
parent d89b1d97fb
commit 21c01f156d
4 changed files with 14 additions and 26 deletions

View File

@ -122,9 +122,11 @@ set_group_find_defaults (MuConfigOptions *opts)
* date-from-subject, and sort descending by date. If fields
* *are* specified, we sort in ascending order. */
if (!opts->fields) {
opts->descending = TRUE;
opts->fields = "d f s";
opts->sortfield = "d";
if (!opts->sortfield) {
opts->sortfield = "d";
opts->descending = TRUE;
}
}
if (opts->linksdir) {