Improvement with file counts and related

This commit is contained in:
Scott Idem
2024-08-09 19:33:47 -04:00
parent d7dfef4fe0
commit 074cf154f2
3 changed files with 14 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ export async function handle_load_ae_obj_id__event_location(
api_cfg: api_cfg,
obj_type: 'event_location',
obj_id: event_location_id, // NOTE: This is the FQDN, not normally the ID.
use_alt_table: false, // NOTE: This will use the table_name_alt value instead of the table_name value in the API config.
use_alt_table: true, // NOTE: This will use the table_name_alt value instead of the table_name value in the API config.
use_alt_base: false, // NOTE: This will use the base_name_alt value instead of the base_name value in the API config.
params: params,
log_lvl: log_lvl
@@ -165,7 +165,7 @@ export async function handle_load_ae_obj_li__event_location(
obj_type: 'event_location',
for_obj_type: 'event',
for_obj_id: event_id,
use_alt_table: false, // NOTE: This will use the table_name_alt value instead of the table_name value in the API config.
use_alt_table: true, // NOTE: This will use the table_name_alt value instead of the table_name value in the API config.
use_alt_base: false, // NOTE: This will use the base_name_alt value instead of the base_name value
enabled: enabled,
hidden: hidden,
@@ -492,6 +492,7 @@ export function handle_db_save_ae_obj_li__event_location(
file_count: obj.file_count,
file_count_all: obj.file_count_all,
internal_use_count: obj.internal_use_count,
event_file_id_li_json: obj.event_file_id_li_json,
// poc_person_given_name: obj.poc_person_given_name,
// poc_person_family_name: obj.poc_person_family_name,