Skip to content

Conversation

ibushong
Copy link
Contributor

Fixes #1761

"hardcoding" 1 might seem bad, but since it's within the if sort_desc conditional, it should be fine. Though it could be replaced by something like {{ 1 if sort_desc else 0 }} for extra robustness.

@samuelhwilliams samuelhwilliams force-pushed the fix/sort-desc-input-value branch from 6535df8 to a9c3b11 Compare July 13, 2024 14:48
Copy link
Contributor

@samuelhwilliams samuelhwilliams left a comment

Choose a reason for hiding this comment

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

This works - thanks for the fix! 👍

@samuelhwilliams samuelhwilliams merged commit 66dbf72 into pallets-eco:master Jul 13, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Development

Successfully merging this pull request may close these issues.

desc query string arg incorrectly preserved when setting filters

2 participants