feat: update event file and session search to support V3 API filters

This commit is contained in:
Scott Idem
2026-01-29 15:51:41 -05:00
parent 6c8118fc82
commit 99345c93a9
3 changed files with 49 additions and 14 deletions

View File

@@ -343,21 +343,21 @@
.finally(() => {
if (log_lvl) {
console.log(
'TEST SEARCH - Search done. Pulling out the event_file_id_randoms.'
'TEST SEARCH - Search done. Pulling out the event_file_ids.'
);
}
// console.log(`TEST search: ${$lq_kv__event_file_obj_li}`);
// event_file_id_random_li = [];
// event_file_id_li = [];
// We need to loop through the array of objects and get the event_file_id_random from each object a new list of event_file_id_randoms. Then we can use this list to get the full objects from the database.
// We need to loop through the array of objects and get the event_file_id from each object a new list of event_file_ids. Then we can use this list to get the full objects from the database.
// let tmp_li = []; // This is to prevent the array from constantly updating and triggering the liveQuery.
// for (let i = 0; i < $events_slct.event_file_obj_li.length; i++) {
// tmp_li.push($events_slct.event_file_obj_li[i].event_file_id_random);
// tmp_li.push($events_slct.event_file_obj_li[i].event_file_id);
// }
// event_file_id_random_li = tmp_li;
// event_file_id_li = tmp_li;
// event_file_id_random_li = $events_slct.event_file_obj_li.map(file_obj => file_obj.event_file_id_random);
// event_file_id_li = $events_slct.event_file_obj_li.map(file_obj => file_obj.event_file_id);
// Finally done with the search.
$events_sess.pres_mgmt.status_qry__search = 'done';
@@ -366,7 +366,7 @@
qry__status = 'done';
// if (log_lvl > 1) {
// console.log(`TEST SEARCH - event_file_id_random_li:`, event_file_id_random_li);
// console.log(`TEST SEARCH - event_file_id_li:`, event_file_id_li);
// // console.log(`TEST SEARCH - search live query: ${$lq_kv__event_file_obj_li}`);
// }
});