Fix: Finalize Event Session Search with default_qry_str support

- Explicitly added `default_qry_str` to the V3 search body for "like" searches.
- Updated `TODO.md` to reflect completion of the task.
This commit is contained in:
Scott Idem
2026-01-21 17:07:06 -05:00
parent 8fae3aa89a
commit af35124a8b
2 changed files with 6 additions and 2 deletions

View File

@@ -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;