[GIT] Evergreen ILS branch rel_3_14 updated. d3690c088709169957f75f8427035ac94deafd7b

This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Evergreen ILS". The branch, rel_3_14 has been updated via d3690c088709169957f75f8427035ac94deafd7b (commit) from b84d35901e29ce0be1a2c1bd9c02785004cf421c (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit d3690c088709169957f75f8427035ac94deafd7b Author: Mike Rylander <mrylander@gmail.com> Date: Tue Jun 10 17:33:26 2025 -0400 LP#2113904: Backport grid render fix The grid infrastructure was rewritten to use tables instead of divs. As part of that, some extra special-case logic was added to detect non-IDL column datatypes. However, one case -- where a column definition does not have a name attribute -- can cause the grid to fail to render at all. This commit softens the "count means numeric" test so that a nameless grid column won't cause problems. Release-note: Fixes grid rendering glitch caused by nameless columns. Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Jane Sandberg <js7389@princeton.edu> Signed-off-by: Ruth Frasur Davis <redavis4974@gmail.com> Signed-off-by: Shula Link <slink@gchrl.org> diff --git a/Open-ILS/src/eg2/src/app/share/grid/grid.ts b/Open-ILS/src/eg2/src/app/share/grid/grid.ts index 28d571c4d2..b0505a1bd3 100644 --- a/Open-ILS/src/eg2/src/app/share/grid/grid.ts +++ b/Open-ILS/src/eg2/src/app/share/grid/grid.ts @@ -1511,7 +1511,8 @@ export class GridContext { */ /* Name-based formats */ - if (col.name.endsWith('count') || col.name.endsWith('Count')) {classes.push('numeric');} + /* XXX: The second test is against a translated string. */ + if (col.name?.endsWith('count') || col.name?.endsWith('Count')) {classes.push('numeric');} switch (col.name) { case 'callnumber': ----------------------------------------------------------------------- Summary of changes: Open-ILS/src/eg2/src/app/share/grid/grid.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) hooks/post-receive -- Evergreen ILS
participants (1)
-
Git User