Skip to content

fix: trim whitespace-only search and add missing param-count test#996

Open
Ghadaffijr wants to merge 1 commit into
Agora-Events:mainfrom
Ghadaffijr:fix/event-search-whitespace-and-date-count
Open

fix: trim whitespace-only search and add missing param-count test#996
Ghadaffijr wants to merge 1 commit into
Agora-Events:mainfrom
Ghadaffijr:fix/event-search-whitespace-and-date-count

Conversation

@Ghadaffijr

Copy link
Copy Markdown
Contributor

Closes #825
Closes #826

- Agora-Events#826: Normalize filters.search by trimming whitespace and treating
  whitespace-only input as no search term, preventing the % % ILIKE
  pattern from matching every event in the search filter
- Agora-Events#825: Add the unit test required by the acceptance criteria,
  confirming start_date + end_date together produce the expected
  param_count of 2 in build_event_where_clause. The underlying
  parameter binding fix for the count query was already present on
  dev; this PR adds the missing test coverage called for in the issue.

Closes Agora-Events#825
Closes Agora-Events#826
@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown

@Ghadaffijr is attempting to deploy a commit to the oseh-svg's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Jun 30, 2026

Copy link
Copy Markdown

@Ghadaffijr Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant