Bug fix for total file count for a session
This commit is contained in:
@@ -29,7 +29,7 @@ export async function handle_load_ae_obj_id__event_session(
|
||||
api_cfg: api_cfg,
|
||||
obj_type: 'event_session',
|
||||
obj_id: event_session_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
|
||||
@@ -84,7 +84,7 @@ export async function handle_load_ae_obj_li__event_session(
|
||||
obj_type: 'event_session',
|
||||
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,
|
||||
|
||||
@@ -347,21 +347,21 @@ export interface Session {
|
||||
updated_on: null|Date;
|
||||
|
||||
// Additional fields for convenience (database views)
|
||||
file_count: null|number; // Only files directly under a session
|
||||
file_count_all: null|number; // All files under a session
|
||||
internal_use_count: null|number; // Files marked for internal use
|
||||
file_count?: null|number; // Only files directly under a session
|
||||
file_count_all?: null|number; // All files under a session
|
||||
internal_use_count?: null|number; // Files marked for internal use
|
||||
|
||||
poc_person_given_name: null|string;
|
||||
poc_person_family_name: null|string;
|
||||
poc_person_full_name: null|string;
|
||||
poc_person_primary_email: null|string;
|
||||
poc_person_passcode: null|string;
|
||||
poc_kv_json: null|string;
|
||||
poc_person_given_name?: null|string;
|
||||
poc_person_family_name?: null|string;
|
||||
poc_person_full_name?: null|string;
|
||||
poc_person_primary_email?: null|string;
|
||||
poc_person_passcode?: null|string;
|
||||
poc_kv_json?: null|string;
|
||||
|
||||
event_name: null|string;
|
||||
event_name?: null|string;
|
||||
|
||||
event_location_code: null|string;
|
||||
event_location_name: null|string;
|
||||
event_location_code?: null|string;
|
||||
event_location_name?: null|string;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user