Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(category): fix category filtering not working when order by other… #1193

Merged
merged 1 commit into from
Apr 21, 2024

Conversation

iknowright
Copy link
Contributor

fix category filtering not working when ordered by other attributes on review table

Types of changes

  • Bugfix
  • New feature
  • Refactoring
  • Breaking change (any change that would cause existing functionality to not work as expected)
  • Documentation Update
  • Other (please describe)

Description

based on

Steps to Test This Pull Request

Steps to reproduce the behavior:

  1. Go to review page
  2. when default ALL is applied
  3. click any sort button on any column
  4. will show none of proposals (expected all)m.

Solution

applied |default'' template tag to sorting <a href> tag to make category appears to be empty on URL location, then
backend will not filter it wrong.

@iknowright iknowright self-assigned this Apr 21, 2024
Copy link

codecov bot commented Apr 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.19%. Comparing base (fca6fd2) to head (53b0638).
Report is 5 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1193   +/-   ##
=======================================
  Coverage   71.19%   71.19%           
=======================================
  Files          84       84           
  Lines        3451     3451           
=======================================
  Hits         2457     2457           
  Misses        994      994           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@SivanYeh
Copy link
Collaborator

LGTM!

@SivanYeh SivanYeh merged commit 0621af7 into master Apr 21, 2024
3 checks passed
@mattwang44 mattwang44 deleted the ben/category_filter_fix branch April 22, 2024 02:40
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.

None yet

2 participants