Skip to content
This repository has been archived by the owner on Aug 21, 2020. It is now read-only.

Commit

Permalink
Sort all completed lists by gsd_comp_date
Browse files Browse the repository at this point in the history
It's nice if recently completed items are show iirst rather than the
default title sort.
  • Loading branch information
simonbaird committed Mar 2, 2015
1 parent 6c30aab commit bcbed19
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions plugins/gsd5/core/ui/cleanup.tid
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ The following actions and projects are older than 14 days and can be possibly de

</div>

<<gsd5-list title:"Completed Actions" gsd_type:"action" gsd_status:"none" gsd_complete:"true" realmAware:"true" sort:"title" order:"ascending" groupBy:"none" customFilter:"!date:gsd_comp_date[14]">>
<<gsd5-list title:"Completed Actions" gsd_type:"action" gsd_status:"none" gsd_complete:"true" realmAware:"true" sort:"gsd_comp_date" order:"descending" groupBy:"none" customFilter:"!date:gsd_comp_date[14]">>

<<gsd5-list title:"Completed Projects" gsd_type:"project" gsd_status:"none" gsd_complete:"true" realmAware:"true" sort:"title" order:"ascending" groupBy:"none" customFilter:"!date:gsd_comp_date[14]">>
<<gsd5-list title:"Completed Projects" gsd_type:"project" gsd_status:"none" gsd_complete:"true" realmAware:"true" sort:"gsd_comp_date" order:"descending" groupBy:"none" customFilter:"!date:gsd_comp_date[14]">>
2 changes: 1 addition & 1 deletion plugins/gsd5/core/ui/lists/completed-action-list.tid
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ title: $:/plugins/gsd5/core/ui/lists/completed-action-list
tags: $:/tags/GSD5Lists
caption: Completed Actions

<<gsd5-list title:"Completed Action" gsd_type:"action" gsd_complete:"true" realmAware:"true" sort:"title" order:"ascending" groupBy:{{$:/config/GSD5DashboardGroup}} customFilter:"none">>
<<gsd5-list title:"Completed Action" gsd_type:"action" gsd_complete:"true" realmAware:"true" sort:"gsd_comp_date" order:"descending" groupBy:{{$:/config/GSD5DashboardGroup}} customFilter:"none">>
2 changes: 1 addition & 1 deletion plugins/gsd5/core/ui/lists/completed-project-list.tid
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ title: $:/plugins/gsd5/core/ui/lists/completed-project-list
tags: $:/tags/GSD5Lists
caption: Completed Projects

<<gsd5-list title:"Completed Projects" gsd_type:"project" gsd_status:"active" gsd_complete:"true" realmAware:"true" sort:"title" order:"ascending" groupBy:"none" customFilter:"none">>
<<gsd5-list title:"Completed Projects" gsd_type:"project" gsd_status:"active" gsd_complete:"true" realmAware:"true" sort:"gsd_comp_date" order:"descending" groupBy:"none" customFilter:"none">>
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ References
<div class="tc-menu-list-item">
Completed Actions
<hr/>
<$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]]>
<div class="tc-menu-list-subitem">
<$transclude tiddler="$:/plugins/gsd5/core/ui/lists/ListViewPrefix"/>
<span class="list-link"><$link to={{!!title}}><$view field="title"/></$link></span>
Expand Down

0 comments on commit bcbed19

Please sign in to comment.