Skip to content

Build your personal knowledge base with Trilium Notes

client: fix a failing test

Adorian Doran885aac89df9e
diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json
index edae7ef7d4..729fc2b177 100644
--- a/apps/client/src/translations/en/translation.json
+++ b/apps/client/src/translations/en/translation.json
@@ -740,6 +740,8 @@
"max_nesting_depth": "How many levels of children a table shows. Notes cannot be reordered while it is set.",
"include_archived": "Includes archived notes in this collection, which are otherwise left out.",
"enable_inbox_column": "For board collections, shows the inbox column, which lists all child notes that are not assigned to a board column.",
+ "sort_columns": "For board collections, the order the columns sort their cards in, which a column follows unless it is given an order of its own. Holds <code>title</code>, <code>creationDate</code> or <code>attr:</code> followed by a promoted attribute's name.",
+ "sort_columns_descending": "For board collections, runs the order in <code>#sortColumns</code> backwards.",
"calendar_view": "Which view a calendar opens in: <code>timeGridDay</code>, <code>timeGridWeek</code>, <code>dayGridMonth</code>, <code>multiMonthYear</code> or <code>listMonth</code>.",
"calendar_initial_date": "The date a calendar opens on. Opens on today when unset.",
"calendar_hide_weekends": "Hides Saturday and Sunday from the calendar. Applies whatever its value.",
diff --git a/apps/client/src/widgets/attribute_widgets/attr_help.ts b/apps/client/src/widgets/attribute_widgets/attr_help.ts
index 36e4a2b98a..da6a3e71d3 100644
--- a/apps/client/src/widgets/attribute_widgets/attr_help.ts
+++ b/apps/client/src/widgets/attribute_widgets/attr_help.ts
@@ -157,6 +157,8 @@ export const ATTR_HELP: AttrHelpMap = {
maxNestingDepth: t("attribute_detail.max_nesting_depth"),
includeArchived: t("attribute_detail.include_archived"),
enableInboxColumn: t("attribute_detail.enable_inbox_column"),
+ sortColumns: t("attribute_detail.sort_columns"),
+ sortColumnsDescending: t("attribute_detail.sort_columns_descending"),
"calendar:view": t("attribute_detail.calendar_view"),
"calendar:initialDate": t("attribute_detail.calendar_initial_date"),
"calendar:hideWeekends": t("attribute_detail.calendar_hide_weekends"),