From d106e946f420d8b18cfbf6963bbf0f74c046fbcf Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed, 11 Dec 2024 11:25:36 -0800 Subject: [PATCH] Sortable column headers --- src-ui/messages.xlf | 23 ++++++++++++------- .../document-list.component.html | 11 ++++++--- 2 files changed, 23 insertions(+), 11 deletions(-) diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf index 7abb95823..314910f5d 100644 --- a/src-ui/messages.xlf +++ b/src-ui/messages.xlf @@ -5942,7 +5942,7 @@ src/app/components/document-list/document-list.component.html - 289 + 294 @@ -5957,7 +5957,7 @@ src/app/components/document-list/document-list.component.html - 329 + 334 @@ -5972,7 +5972,7 @@ src/app/components/document-list/document-list.component.html - 336 + 341 @@ -7209,7 +7209,7 @@ src/app/components/document-list/document-list.component.html - 305 + 310 @@ -7573,25 +7573,32 @@ 261,263 + + Sort by + + src/app/components/document-list/document-list.component.html + 268,269 + + Edit document src/app/components/document-list/document-list.component.html - 297 + 302 Preview document src/app/components/document-list/document-list.component.html - 298 + 303 Yes src/app/components/document-list/document-list.component.html - 357 + 362 src/app/pipes/yes-no.pipe.ts @@ -7602,7 +7609,7 @@ No src/app/components/document-list/document-list.component.html - 357 + 362 src/app/pipes/yes-no.pipe.ts diff --git a/src-ui/src/app/components/document-list/document-list.component.html b/src-ui/src/app/components/document-list/document-list.component.html index fdf3e24ed..5ad3aa6c7 100644 --- a/src-ui/src/app/components/document-list/document-list.component.html +++ b/src-ui/src/app/components/document-list/document-list.component.html @@ -262,9 +262,14 @@ Shared } - @for (field of activeDisplayCustomFields; track field) { - - {{getDisplayCustomFieldTitle(field)}} + @for (field_id of activeDisplayCustomFields; track field_id) { + + {{getDisplayCustomFieldTitle(field_id)}} }