Reports can set max count. Bug fixes. Clean up.

This commit is contained in:
Scott Idem
2024-07-17 17:08:09 -04:00
parent 625169a321
commit 064bba3d62
7 changed files with 189 additions and 37 deletions

View File

@@ -28,7 +28,7 @@ export async function handle_load_ae_obj_id__event_presenter(
api_cfg: api_cfg,
obj_type: 'event_presenter',
obj_id: event_presenter_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
params: params,
log_lvl: log_lvl
@@ -227,6 +227,7 @@ export async function handle_search__event_presenter(
api_cfg,
event_id,
agree = null,
biography = null,
fulltext_search_qry_str,
ft_presenter_search_qry_str,
like_search_qry_str = null,
@@ -239,6 +240,7 @@ export async function handle_search__event_presenter(
api_cfg: any,
event_id: any,
agree?: null|boolean,
biography?: null|boolean,
fulltext_search_qry_str?: null|string,
ft_presenter_search_qry_str?: null|string,
like_search_qry_str?: null|string,
@@ -305,6 +307,10 @@ export async function handle_search__event_presenter(
params_json['and_qry']['agree'] = agree;
}
if (biography) {
params_json['and_qry']['biography_check'] = biography;
}
let order_by_li = {'priority': 'DESC', 'sort': 'DESC', 'given_name': 'ASC', 'family_name': 'ASC', 'email': 'ASC', 'updated_on': 'DESC', 'created_on': 'DESC'};
ae_promises.load__event_presenter_obj_li = await api.get_ae_obj_li_for_obj_id_crud({

View File

@@ -286,6 +286,13 @@ let events_session_data_struct: key_val = {
new_upload_list: null,
files_uploading_count: null,
qry_max__sessions: 25,
qry_max__presentations: 25,
qry_max__presenters: 25,
qry_max__files: 25,
show_fields__presentation: true,
show_fields__session: true,
},
// Speakers Management (Collection)
@@ -336,6 +343,7 @@ let events_slct_obj_template: key_val = {
'file_id': null,
'file_obj': {},
'file_obj_li': [],
'event_file_obj': {},
'event_file_obj_li': [],
@@ -350,14 +358,17 @@ let events_slct_obj_template: key_val = {
'presentation_id': null,
'presentation_obj': {},
'presentation_obj_li': [],
'event_presentation_obj': {},
'presenter_id': null,
'presenter_obj': {},
'presenter_obj_li': [],
'event_presenter_obj': {},
'session_id': null,
'session_obj': {},
'session_obj_li': [],
'event_session_obj': {},
'lq__presenter_obj': {}, // Testing passing a LiveQuery object around...
};