Skip to content

[mri_violations] [jsx] Fix Clear filter bug for the 'Time Run' input field.#10523

Open
HachemJ wants to merge 1 commit into
aces:27.0-releasefrom
HachemJ:FixMriViolationsClearFilterBug
Open

[mri_violations] [jsx] Fix Clear filter bug for the 'Time Run' input field.#10523
HachemJ wants to merge 1 commit into
aces:27.0-releasefrom
HachemJ:FixMriViolationsClearFilterBug

Conversation

@HachemJ

@HachemJ HachemJ commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Brief summary of changes

This PR fixes a bug where the 'Time Run' input field wouldn't clear after using the clear filter button on the MRI violated scans page found under Imaging --> MRI Violated Scans.

Testing instructions (if applicable)

  1. Go to the MRI violated scans page. (The Mri Violations module is reachable by going to Imaging --> MRI Violated Scans)
  2. Enter a timestamp in the 'Time Run' input field (please try both valid and invalid ones).
  3. Click on the 'Clear Filter' button.
  4. The 'Time Run' input should now be cleared.

The two videos below show the Before / After the changes with a 'valid' timestamp.

Before.Clear.Filter.bug.mov
After.Clear.Filter.bug.mov

Link(s) to related issue(s)

@HachemJ HachemJ added Module: mri_violations PR or issue related to mri_violations module 27.0.0 - Bugs Bugs Found in LORIS 27 testing Category: Bug PR or issue that aims to report or fix a bug Language: Javascript PR or issue that update Javascript code labels Jun 8, 2026

@MaximeBICMTL MaximeBICMTL 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.

The fix makes sense. And the before/after video is top PR description 👌

@CamilleBeau CamilleBeau requested a review from kongtiaowang June 8, 2026 19:23
@MaximeBICMTL MaximeBICMTL removed the request for review from kongtiaowang June 8, 2026 19:25
@MaximeBICMTL MaximeBICMTL assigned driusan and unassigned kongtiaowang Jun 8, 2026
@MaximeBICMTL

Copy link
Copy Markdown
Contributor

Whoops, looks like I reviewed the PR at the same time it was assigned. Since I already reviewed it, unassigning Shen and assigning Dave for merge.

@driusan driusan assigned kongtiaowang and unassigned driusan Jun 8, 2026
@kongtiaowang kongtiaowang added the Passed manual tests PR has been successfully tested by at least one peer label Jun 8, 2026
@kongtiaowang

Copy link
Copy Markdown
Contributor

@driusan It is ready to merge.

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

Labels

27.0.0 - Bugs Bugs Found in LORIS 27 testing Category: Bug PR or issue that aims to report or fix a bug Language: Javascript PR or issue that update Javascript code Module: mri_violations PR or issue related to mri_violations module Passed manual tests PR has been successfully tested by at least one peer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants