]> git.notmuchmail.org Git - notmuch/commit
nmbug-status: add support for specifying sort order for each view
authorJani Nikula <jani@nikula.org>
Sat, 26 Sep 2015 11:37:51 +0000 (14:37 +0300)
committerDavid Bremner <david@tethera.net>
Tue, 29 Sep 2015 11:25:25 +0000 (08:25 -0300)
commit8b35b8f71aec56232a3d305aff6cf315bf31331e
treec63c31fb36e9e849b638bd5d5c71ab129be7b1cc
parent33c8777a967ece2dd4bbda7e83a4e07c195abf51
nmbug-status: add support for specifying sort order for each view

Let each view have a "sort" key, typically used with values
"oldest-first" or "newest-first" (although all values in Query.SORT
are accepted), and sort the results accordingly. Oldest first remains
the default.

The dynamic approach of mapping sort values is as suggested by
W. Trevor King <wking@tremily.us>.
devel/nmbug/nmbug-status