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

pagination breaks when there are no tags #1469

Merged
merged 2 commits into from
Dec 6, 2024
Merged

Conversation

cellio
Copy link
Member

@cellio cellio commented Dec 6, 2024

Fixes #1353 . The problem is that we were checking nil but not a count of 0, and apparently tags pagination requires there actually be something there.

I do not fully understand the problem, because it appears that other places with pagination don't have these kinds of checks, but with this check in place, I can't break tag search in my local dev environment, so I propose to try it.

@cellio cellio requested a review from a team December 6, 2024 18:10
Copy link
Member

@Oaphi Oaphi left a comment

Choose a reason for hiding this comment

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

LGTM - there is a follow up discussion in Discord about further improvements, but it shouldn't preclude merging if we take too long. Not merging for now, but works as expected (up to you, @cellio, if you want to merge as is).

UPD: agreed on merging and tackling improvements separately

@Oaphi Oaphi merged commit 92315f2 into develop Dec 6, 2024
7 checks passed
@Oaphi Oaphi deleted the cellio/1353-tag-search-error branch December 6, 2024 19:07
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.

Tag search returns 500 under some circumstances
2 participants