Explore search never matches event descriptions #77

Open
opened 2026-10-03 19:44:44 +00:00 by jalenluorion · 0 comments
Member

What's wrong
Explore's search box checks event.description, but GET /api/events/ does not return descriptions, so only titles and locations ever match.

How to reproduce

  1. Find an event whose description contains a word that is not in its title or location.
  2. Search that word on /explore: the event is not found.

Expected
Searching matches titles, locations and descriptions.

Where to look

  • web/src/app/components/SearchResultSidebar.tsx: the client-side search in the filteredEvents memo.
  • api/app/api/events.py: get_all_events selects specific columns and leaves out description.

Done when

  • Either the list endpoint returns description (mind the payload size, see the events-list pagination issue) or search moves to the server
  • A search for a description-only word finds the event

Notes
Coordinate with "Paginate the events list endpoint" and "Explore shows no events by default", which change the same endpoint.

**What's wrong** Explore's search box checks `event.description`, but `GET /api/events/` does not return descriptions, so only titles and locations ever match. **How to reproduce** 1. Find an event whose description contains a word that is not in its title or location. 2. Search that word on /explore: the event is not found. **Expected** Searching matches titles, locations and descriptions. **Where to look** - `web/src/app/components/SearchResultSidebar.tsx`: the client-side search in the `filteredEvents` memo. - `api/app/api/events.py`: `get_all_events` selects specific columns and leaves out `description`. **Done when** - [ ] Either the list endpoint returns `description` (mind the payload size, see the events-list pagination issue) or search moves to the server - [ ] A search for a description-only word finds the event **Notes** Coordinate with "Paginate the events list endpoint" and "Explore shows no events by default", which change the same endpoint.
jalenluorion added this to the Phase 2 milestone 2026-10-03 19:44:44 +00:00
jalenluorion added this to the CMUCal project 2026-10-03 19:45:09 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ScottyLabs/cal#77
No description provided.