You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i comes to sorting, these are the options i could think of that sorting in the knowledge base could follow:
according to the "Date:"-field
according to the "last modified" timestamp of a file
according to the file name
according to the datetime it was created in git
according to the datetime of the last commit related to the file
I was expecting that 4. applies if 3. cannot be determined, overruled by 1. given it is set, because of this comment in the MADR template:
[YYYY-MM-DD when the decision was last updated]<!-- optional. To customize the ordering without relying on Git creation dates and filenames -->
However, when i don't set that date, i now find that the order seems to be determined by the last save date. When i create two drafts and start the preview server, i can juggle them around in the sorting by changing any ADRs that is not the latest one on the top.
Shouldn't they be sorted by the filename, which has the YYYYMMDD- prefix for that very purpose?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When i comes to sorting, these are the options i could think of that sorting in the knowledge base could follow:
I was expecting that 4. applies if 3. cannot be determined, overruled by 1. given it is set, because of this comment in the MADR template:
However, when i don't set that date, i now find that the order seems to be determined by the last save date. When i create two drafts and start the preview server, i can juggle them around in the sorting by changing any ADRs that is not the latest one on the top.
Shouldn't they be sorted by the filename, which has the
YYYYMMDD-
prefix for that very purpose?Beta Was this translation helpful? Give feedback.
All reactions