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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user