This is a good point for things. Looks good and working well.

This commit is contained in:
Scott Idem
2024-03-21 18:13:05 -04:00
parent 7381797a28
commit 18c1c84044
5 changed files with 263 additions and 56 deletions

View File

@@ -122,7 +122,7 @@ async function handle_load_ae_obj_li__badge({api_cfg, event_id, params={}, try_c
async function handle_search__event_badge({api_cfg, event_id, fulltext_search_qry_str, params={}, try_cache=true}) {
async function handle_search__event_badge({api_cfg, event_id, fulltext_search_qry_str, external_event_id, params={}, try_cache=true}) {
console.log(`*** handle_search__event_badge() *** event_id=${event_id}`);
let enabled: string = (params.qry__enabled ?? 'enabled'); // all, disabled, enabled
@@ -139,6 +139,9 @@ async function handle_search__event_badge({api_cfg, event_id, fulltext_search_qr
};
}
params_json['and_qry'] = {};
if (external_event_id) params_json['and_qry']['external_event_id'] = external_event_id;
// $events_sess.badges.status_qry__search = 'loading';
ae_promises.search__event_badge = await api.get_ae_obj_li_for_obj_id_crud({
api_cfg: api_cfg,