From 54b38cab8c607bd12b2390d85706d5e6f2e61d1c Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 27 Sep 2023 13:22:57 -0600 Subject: [PATCH] Fix favourites did not show customfield column if needed --- api/js/etemplate/et2_extension_nextmatch.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/js/etemplate/et2_extension_nextmatch.ts b/api/js/etemplate/et2_extension_nextmatch.ts index 5770784340..10a4d5bc54 100644 --- a/api/js/etemplate/et2_extension_nextmatch.ts +++ b/api/js/etemplate/et2_extension_nextmatch.ts @@ -2201,6 +2201,7 @@ export class et2_nextmatch extends et2_DOMWidget implements et2_IResizeable, et2 { visibility[columnMgr.columns[i].id].visible = true; } + // Custom fields are listed seperately in column list, but are only 1 column if(widget && widget.instanceOf(et2_nextmatch_customfields)) { @@ -2228,6 +2229,7 @@ export class et2_nextmatch extends et2_DOMWidget implements et2_IResizeable, et2 } (widget).set_visible(visible); } + this.columns[i].visible = visibility[columnMgr.columns[i].id].visible; } columnMgr.setColumnVisibilitySet(visibility);