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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix scope and category filtering links with ransack #11182

Merged
merged 1 commit into from Jul 20, 2023

Conversation

ahukkanen
Copy link
Contributor

馃帺 What? Why?

After the ransack filtering was introduced, the tag filtering links (category / scope) are not correctly formed.

There are also some other mistakes in the static filtering links that this PR is fixing.

馃搶 Related Issues

Testing

  • Go to the proposals
  • Open a proposal (considering you have enabled redesign)
  • Click the category or scope filtering link
  • See that the result page is filtering the results correctly

@ahukkanen ahukkanen requested a review from a team July 19, 2023 09:09
@andreslucena andreslucena added release: v0.27 Issues or PRs that need to be tackled for v0.27 release: v0.26 Issues or PRs that need to be tackled for v0.26 labels Jul 19, 2023
@ahukkanen ahukkanen removed the release: v0.26 Issues or PRs that need to be tackled for v0.26 label Jul 20, 2023
@ahukkanen
Copy link
Contributor Author

@andreslucena I removed the 0.26 label from this because the change was introduced in 0.27.0:
https://github.com/decidim/decidim/releases/tag/v0.27.0

So I believe this only has to be backported to 0.27.

Copy link
Contributor

@alecslupu alecslupu left a comment

Choose a reason for hiding this comment

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

I could not find a way to cancel a sortition in 0.28-dev.

@alecslupu alecslupu merged commit 263aede into develop Jul 20, 2023
95 checks passed
@alecslupu alecslupu deleted the fix/category-scope-tag-filtering-links branch July 20, 2023 08:42
@alecslupu
Copy link
Contributor

@ahukkanen please create the backport to 0.27.

@ahukkanen
Copy link
Contributor Author

Backport building at #11248.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Proposals: the link to filter by category directly from a proposal card is not working
3 participants