-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Filter out past live events from search results in backend (#1062)
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".
- Loading branch information
Showing
4 changed files
with
15 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters