More work on the event object functions. Also a minor update to the recent files list options.
This commit is contained in:
@@ -551,7 +551,9 @@ export async function search__event_device(
|
||||
})
|
||||
.then(function (event_device_obj_li_get_result) {
|
||||
if (event_device_obj_li_get_result) {
|
||||
db_save_ae_obj_li__event_device({obj_type: 'event_device', obj_li: event_device_obj_li_get_result});
|
||||
if (try_cache) {
|
||||
db_save_ae_obj_li__event_device({obj_type: 'event_device', obj_li: event_device_obj_li_get_result});
|
||||
}
|
||||
return event_device_obj_li_get_result;
|
||||
} else {
|
||||
return [];
|
||||
@@ -760,13 +762,13 @@ export async function process_ae_obj__event_device_props({
|
||||
if (log_lvl) console.log(`Processing ae_obj event_device:`, obj);
|
||||
|
||||
let processed_obj = {
|
||||
id: obj.id,
|
||||
event_device_id: obj.event_device_id,
|
||||
id: obj.event_device_id_random,
|
||||
event_device_id: obj.event_device_id_random,
|
||||
event_device_id_random: obj.event_device_id_random,
|
||||
|
||||
event_id: obj.event_id,
|
||||
event_id: obj.event_id_random,
|
||||
event_id_random: obj.event_id_random,
|
||||
event_location_id: obj.event_location_id,
|
||||
event_location_id: obj.event_location_id_random,
|
||||
event_location_id_random: obj.event_location_id_random,
|
||||
|
||||
code: obj.code,
|
||||
|
||||
Reference in New Issue
Block a user