Skip to content

GitHub Issue 929: MVTCs not used in lookup search - #7899

Open
XingY wants to merge 3 commits into
developfrom
fb_issue929
Open

GitHub Issue 929: MVTCs not used in lookup search#7899
XingY wants to merge 3 commits into
developfrom
fb_issue929

Conversation

@XingY

@XingY XingY commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Rationale

The gridbar search Q filter currently doesn't support MVTC fields. Even worse, when a MVTC field is present on a grid, the gridbar search is not usable for any fields. This PR adds support for Q filtering on MVTC fields, by applying ILIKE op on each part (delimited by comma) of the provided search string against each element in array.

This PR also wires up document indexing for samples, dataclass data and lists. dataset and assay results currently aren't wired up to index custom fields.

Related Pull Requests

Changes

  • Support q filter for MVTC array fields
  • Added SqlDialect.array_element_like to allow ILIKE filter on array
  • Wire up indexer for MVTC fields when applicable (samples, dataclass data, list)

@XingY
XingY requested a review from labkey-matthewb July 31, 2026 17:10

@labkey-matthewb labkey-matthewb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

~q has always been scary performance-wise, but that's regardless of this improvement. Looks good to me.

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.

2 participants