Explore search never matches event descriptions #77
Labels
No labels
bug
chore
data
feature
frontend
good first issue
intermediate
needs/docs
needs/research
needs/upstream
type/bug
type/external
type/feature
type/refactor
urgency
high
urgency
immediate
urgency
low
urgency
medium
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ScottyLabs/cal#77
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What's wrong
Explore's search box checks
event.description, butGET /api/events/does not return descriptions, so only titles and locations ever match.How to reproduce
Expected
Searching matches titles, locations and descriptions.
Where to look
web/src/app/components/SearchResultSidebar.tsx: the client-side search in thefilteredEventsmemo.api/app/api/events.py:get_all_eventsselects specific columns and leaves outdescription.Done when
description(mind the payload size, see the events-list pagination issue) or search moves to the serverNotes
Coordinate with "Paginate the events list endpoint" and "Explore shows no events by default", which change the same endpoint.