Skip to content

GH Issue 1485: Fix Show Record History dataset filter - #1201

Merged
labkey-martyp merged 1 commit into
release26.3-SNAPSHOTfrom
26.3_fb_record_history_filter_1485
Sep 10, 2026
Merged

GH Issue 1485: Fix Show Record History dataset filter#1201
labkey-martyp merged 1 commit into
release26.3-SNAPSHOTfrom
26.3_fb_record_history_filter_1485

Conversation

@labkey-martyp

Copy link
Copy Markdown
Contributor

Rationale

Fixes the "Show Record History" button on EHR dataset grids, which showed a record's history from every dataset instead of filtering to the one being viewed. The button built its audit log URL with query.intkey1~eq, a legacy column alias on auditLog.DatasetAuditEvent that was gated behind an off-by-default feature flag in 25.9 and removed outright in 26.1 along with the audit union table. The filter was therefore discarded at render time with an "Ignoring filter/sort on column 'intkey1'" warning; datasetId is the current column.

Reported in https://github.com/LabKey/internal-issues/issues/1485.

Related Pull Requests

None.

Changes

  • Filter the record history grid on the dataset's current audit column rather than the removed legacy alias.
  • Stop requesting a saved view that no longer exists; the grid was already falling back to the module's default view.

The intkey1 legacy alias was removed along with the audit union table, so the dataset filter was silently dropped; datasetId is the current column. Also drops the Detailed view name, which no longer exists.

@labkey-martyp labkey-martyp left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No new test failures.

@labkey-martyp
labkey-martyp merged commit 0f0ea2d into release26.3-SNAPSHOT Sep 10, 2026
9 of 10 checks passed
@labkey-martyp
labkey-martyp deleted the 26.3_fb_record_history_filter_1485 branch September 10, 2026 19:32
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