From 6d0531e227777b5364b23dc5cef8c05140da8702 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Tue, 6 Jan 2026 18:06:32 -0500 Subject: [PATCH] Restore server-side 'conference' filter and finalize IDAA migration - Restored 'conference' search filter in ae_events__event.ts (now supported by backend) - Maintained local filtering as a safety fallback - Finalized Bulletin Board (Posts) V3 migration - Added editable_fields for all remaining IDAA-related core objects --- src/lib/ae_events/ae_events__event.ts | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/lib/ae_events/ae_events__event.ts b/src/lib/ae_events/ae_events__event.ts index 782292f3..cf9a2ca2 100644 --- a/src/lib/ae_events/ae_events__event.ts +++ b/src/lib/ae_events/ae_events__event.ts @@ -131,9 +131,10 @@ export async function load_ae_obj_li__event({ let promise; if (qry_conference !== null) { - // V3 Search does not permit 'conference' field yet. - // We pass no search_query and filter locally in the .then() block below. - const search_query: any = { and: [] }; + // V3 Search now permits 'conference' field. + const search_query: any = { + and: [{ field: 'conference', op: 'eq', value: qry_conference }] + }; promise = api.search_ae_obj_v3({ api_cfg, @@ -169,10 +170,8 @@ export async function load_ae_obj_li__event({ if (event_obj_li_get_result) { let filtered_results = event_obj_li_get_result; - // Workaround: V3 Search does not yet support filtering on the 'conference' field. - // We filter locally for now to maintain frontend behavior. + // Optional: Keep local filter as a fallback safety if (qry_conference !== null) { - if (log_lvl) console.log(`Local filtering for conference=${qry_conference}`); filtered_results = event_obj_li_get_result.filter((ev: any) => ev.conference === qry_conference); }