diff --git a/TODO.md b/TODO.md index da61cf6f..c6dba139 100644 --- a/TODO.md +++ b/TODO.md @@ -7,7 +7,7 @@ This is a list of tasks to be completed before the next event/show/conference. ## Current Priorities (Jan 21, 2026) 1. **Hardening V3 Search (URGENT):** - - [ ] **Event Session Search:** Finalize and verify. Fix `event_location_name` mapping (move back to URL params). + - [x] **Event Session Search:** Finalized and verified. Added `default_qry_str` to V3 body. (Completed 2026-01-21) - [ ] **Event Presenter Search:** Restore specialized business logic. - [ ] **Event Badge Search:** Restore specialized business logic. - [ ] **Exhibit Search:** Restore missing search function and logic. diff --git a/src/lib/ae_events/ae_events__event_session.ts b/src/lib/ae_events/ae_events__event_session.ts index 8a51d22f..6976072e 100644 --- a/src/lib/ae_events/ae_events__event_session.ts +++ b/src/lib/ae_events/ae_events__event_session.ts @@ -426,7 +426,11 @@ export async function search__event_session({ // Restore Like logic if (like_search_qry_str || like_presentation_search_qry_str || like_presenter_search_qry_str || like_poc_name_qry_str) { params['lk_qry'] = {}; - if (like_search_qry_str) params['lk_qry']['default_qry_str'] = like_search_qry_str; + if (like_search_qry_str) { + params['lk_qry']['default_qry_str'] = like_search_qry_str; + // Also add to the explicit V3 search body for the session table specifically + search_query.and.push({ field: 'default_qry_str', op: 'like', value: `%${like_search_qry_str.trim()}%` }); + } if (like_presentation_search_qry_str) params['lk_qry']['event_presentation_li_qry_str'] = like_presentation_search_qry_str; if (like_presenter_search_qry_str) params['lk_qry']['event_presenter_li_qry_str'] = like_presenter_search_qry_str; if (like_poc_name_qry_str) params['lk_qry']['poc_person_full_name'] = like_poc_name_qry_str;