Skip to content

fix(search): list JSON keys in the search filter panel again - #219

Merged
catinspace-au merged 1 commit into
mainfrom
fix/numeric-guard-optchain
Nov 15, 2026
Merged

catinspace-au merged 1 commit into
mainfrom
fix/numeric-guard-optchain

Conversation

@catinspace-au

Copy link
Copy Markdown
Contributor

The search filter panel showed "No filters available" for a native JSON column because the key-values request threw ReferenceError: return_optionalChain is not defined. The minified app build turned the optional chain in isNumericOperand (common-utils/src/dfe/jsonPath.ts) into a call to a helper it never defined. That was the only such call in the shipped chunks.

The guard checks for a match without optional chaining. It gives the same result for every input.

The search filter panel showed "No filters available" for a native JSON column, because the key-values request threw ReferenceError: return_optionalChain is not defined. The minified app build turned the optional chain in isNumericOperand (common-utils/src/dfe/jsonPath.ts) into a call to a helper it never defined. That was the only such call in the shipped chunks.

The guard now checks for a match without optional chaining, which gives the same result for every input.
@catinspace-au
catinspace-au merged commit ff52f24 into main Nov 15, 2026
34 checks passed
@catinspace-au
catinspace-au deleted the fix/numeric-guard-optchain branch November 15, 2026 07:57
@github-actions

Copy link
Copy Markdown
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant