Skip to content

Fix submission filters queryset issue#4572

Merged
frjo merged 1 commit into
mainfrom
fix/gh-4558-reviewer-filter
Jun 10, 2025
Merged

Fix submission filters queryset issue#4572
frjo merged 1 commit into
mainfrom
fix/gh-4558-reviewer-filter

Conversation

@sandeepsajan0

Copy link
Copy Markdown
Member

Fixes #4558

All the code removed in this PR were used for previous/old filter patterns. It was used to update filter datasets dynamically but now we are treating it in a different way and handling those things in submission all view so it is not needed here. It was also messing up with filtered queryset for current implementation.
Now it should show/add/remove 0 submission if filtered query doesn't belong to any submission.

Test Steps

  • Just test/play around the filters of submission all page.

@sandeepsajan0 sandeepsajan0 marked this pull request as ready for review June 5, 2025 04:36

@frjo frjo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Works perfectly in my testing, only remove code and fix bug!

I noticed that we have the same issue with the Category filter, show all items if no match. But that is a separate issue for another PR I think.

@frjo frjo added Type: Bug Bugs! Things that are broken :-/ Type: Patch Mini change, used in release drafter Status: Needs testing Tickets that need testing/qa Status: Needs dev testing 🧑‍💻 Tasks that should be tested by the dev team labels Jun 5, 2025
@wes-otf wes-otf added Status: Tested - approved for live ✅ and removed Status: Needs testing Tickets that need testing/qa Status: Needs dev testing 🧑‍💻 Tasks that should be tested by the dev team labels Jun 9, 2025
@frjo frjo merged commit b2f16bb into main Jun 10, 2025
7 checks passed
theskumar added a commit that referenced this pull request Jun 11, 2025
* main:
  Update Django to 4.2.3 and also update other python packages. (#4582)
  Handle rare event of file uploads having data without id (#4581)
  Create a json output version of the open calls on the front page. (#4554)
  Correct project template urls. (#4575)
  Fix submission filters queryset issue (#4572)
@theskumar theskumar deleted the fix/gh-4558-reviewer-filter branch July 20, 2025 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Tested - approved for live ✅ Type: Bug Bugs! Things that are broken :-/ Type: Patch Mini change, used in release drafter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When filtering by reviewer in the submissions table by someone who has never left a review, all submissions appear.

3 participants