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

Filter out past live events from search results in backend #1062

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

LukasKalbertodt
Copy link
Member

Previously the frontend filtered out those events. But this lead to weirdness where there "number of hits" were incorrect and if everything was filtered out, the "no results" was not shown, but no result was shown either.

This moves this completely to the backend. Which means that due to communication delay, the frontend could show live events that just ended. But that's fine I think.

Also, this filtering is not done for the event search in the block edit UI. Maybe people want to find past live events there 馃し


This can be tested by searching for "NASA TV" (with quotes). On our current deployment one result is shown but it says "2 hits".

Previously the frontend filtered out those events. But this lead to
weirdness where there "number of hits" were incorrect and if everything
was filtered out, the "no results" was not shown, but no result was
shown either.

This moves this completely to the backend. Which means that due to
communication delay, the frontend could show live events that just
ended. But that's fine I think.

Also, this filtering is not done for the event search in the block edit
UI. Maybe people want to find past live events there 馃し
@LukasKalbertodt LukasKalbertodt added the changelog:user User facing changes label Jan 10, 2024
@github-actions github-actions bot temporarily deployed to test-deployment-pr1062 January 10, 2024 11:41 Destroyed
@owi92 owi92 merged commit ed5ce56 into elan-ev:master Jan 10, 2024
3 checks passed
@LukasKalbertodt LukasKalbertodt deleted the fix-ended-live-event-search branch January 10, 2024 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:user User facing changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants