From bcbed19455e4615fbda036f6ea5898519189581f Mon Sep 17 00:00:00 2001 From: Simon Baird Date: Mon, 2 Mar 2015 06:35:27 +1000 Subject: [PATCH] Sort all completed lists by gsd_comp_date It's nice if recently completed items are show iirst rather than the default title sort. --- plugins/gsd5/core/ui/cleanup.tid | 4 ++-- plugins/gsd5/core/ui/lists/completed-action-list.tid | 2 +- plugins/gsd5/core/ui/lists/completed-project-list.tid | 2 +- .../gsd5/core/ui/view-template-addins/project-view-body.tid | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/gsd5/core/ui/cleanup.tid b/plugins/gsd5/core/ui/cleanup.tid index 3cc89b8..a83b7f9 100644 --- a/plugins/gsd5/core/ui/cleanup.tid +++ b/plugins/gsd5/core/ui/cleanup.tid @@ -6,6 +6,6 @@ The following actions and projects are older than 14 days and can be possibly de -<> +<> -<> +<> diff --git a/plugins/gsd5/core/ui/lists/completed-action-list.tid b/plugins/gsd5/core/ui/lists/completed-action-list.tid index a87bd5c..3dfd799 100644 --- a/plugins/gsd5/core/ui/lists/completed-action-list.tid +++ b/plugins/gsd5/core/ui/lists/completed-action-list.tid @@ -2,4 +2,4 @@ title: $:/plugins/gsd5/core/ui/lists/completed-action-list tags: $:/tags/GSD5Lists caption: Completed Actions -<> +<> diff --git a/plugins/gsd5/core/ui/lists/completed-project-list.tid b/plugins/gsd5/core/ui/lists/completed-project-list.tid index 1c25882..2eee460 100644 --- a/plugins/gsd5/core/ui/lists/completed-project-list.tid +++ b/plugins/gsd5/core/ui/lists/completed-project-list.tid @@ -2,4 +2,4 @@ title: $:/plugins/gsd5/core/ui/lists/completed-project-list tags: $:/tags/GSD5Lists caption: Completed Projects -<> +<> diff --git a/plugins/gsd5/core/ui/view-template-addins/project-view-body.tid b/plugins/gsd5/core/ui/view-template-addins/project-view-body.tid index bb92bc5..86befc4 100644 --- a/plugins/gsd5/core/ui/view-template-addins/project-view-body.tid +++ b/plugins/gsd5/core/ui/view-template-addins/project-view-body.tid @@ -125,7 +125,7 @@ References
Completed Actions
-<$list filter=[field:gsd_type[action]field:gsd_complete[true]field:gsd_project{!!title}]> +<$list filter=[field:gsd_type[action]field:gsd_complete[true]field:gsd_project{!!title}!sort[gsd_comp_date]]>
<$transclude tiddler="$:/plugins/gsd5/core/ui/lists/ListViewPrefix"/> <$link to={{!!title}}><$view field="title"/>