From 936af443bd460e90a035ca9552743d49dc7760dd Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Mon, 14 Aug 2023 17:50:21 -0600 Subject: [PATCH] disable client-side sorting in explore tables. --- .../list-generic-resource/list-generic-resource.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/components/list-generic-resource/list-generic-resource.component.ts b/frontend/src/app/components/list-generic-resource/list-generic-resource.component.ts index 54766d1f..8d53d522 100644 --- a/frontend/src/app/components/list-generic-resource/list-generic-resource.component.ts +++ b/frontend/src/app/components/list-generic-resource/list-generic-resource.component.ts @@ -95,7 +95,7 @@ export class ListGenericResourceComponent implements OnInit, ResourceListCompone renderList(resourceList: ResourceFhir[]){ console.log("GENERIC RESOURCE RENDERLSIT") this.columns = this.columnDefinitions.map((defn) => { - let column = {name: defn.title, prop: defn.title.replace(/[^A-Z0-9]/ig, "_")} + let column = {name: defn.title, prop: defn.title.replace(/[^A-Z0-9]/ig, "_"), sortable: false} return column })