What defines the order of sessions in mini.starter? #1354
-
Just a question: I am using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
@dathinaios, could you, please, clarify what setup you are using? The default items contain "Sessions" section which displays only sessions detected with 'mini.sessions'. It's default order is indeed from most to least recent, but can be changed to alphabetical. Other than that you'd have to write your own section with any order you'd want. |
Beta Was this translation helpful? Give feedback.
Yeah, that appears to be the case. Then this is indeed relevant:
If you really need custom session order, then you can use a callable
MiniStarter.config.items
entry which readsMiniSessions.detected
and converts it to array of 'mini.starter' items in the order you want. The relevant part ofMiniStarter.sections.sessions
should be a good starting point: sim…