Skip to content

fix(yields): allow filtering by projectName or slug #1951

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sylvnco
Copy link

@sylvnco sylvnco commented Jul 9, 2025

The "View All Yields" link on a protocol page failed when it received the project’s slug ("project-name") instead of its display name ("Project Name").

This PR updates the filter logic to accept both forms (projectName and project), so the yields view works regardless of which value is passed.

Fix #1936

@mintdart
Copy link
Contributor

this will make filtering of pools way slower, and also doesn't handle filter by chains slug

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.

Direct link to project yields page doesn't work
2 participants