Creating a common tiddlers collection sorted by modified and created time.

This commit is contained in:
ruidajo 2022-10-06 16:03:19 -05:00
parent eca1e1ec05
commit 20553574e4

View File

@ -591,6 +591,19 @@ TiddlyWiki >> rebuildTiddlersWithoutShadows [
^ stonTiddlers
]
{ #category : #accessing }
TiddlyWiki >> recentCommonTiddlersChanged [
^ self commonTiddlers sort: [ :tiddler1 :tiddler2 |
(tiddler1 modified isNil
ifTrue: [ tiddler1 created asDateAndTimeForTiddler ]
ifFalse: [ tiddler1 modified asDateAndTimeForTiddler ])
>
(tiddler2 modified isNil
ifTrue: [ tiddler2 created asDateAndTimeForTiddler ]
ifFalse: [ tiddler2 modified asDateAndTimeForTiddler ]) ]
]
{ #category : #accessing }
TiddlyWiki >> remote [