Now with hide files from launcher working. event_file.hide

This commit is contained in:
Scott Idem
2024-07-25 18:20:17 -04:00
parent 4a70869896
commit 86c8aa6c83
6 changed files with 98 additions and 15 deletions

View File

@@ -31,11 +31,17 @@ export async function load({ params, parent }) { // route
ae_acct.slct.event_presenter_obj = await load_event_presenter_obj;
let ae_params = {
qry__enabled: 'all',
qry__hidden: 'all',
qry__limit: 50
}
let load_event_file_obj_li = await events_func.handle_load_ae_obj_li__event_file({
api_cfg: ae_acct.api,
for_obj_type: 'event_presenter',
for_obj_id: event_presenter_id,
params: {enabled: 'all', qry__limit: 50},
params: ae_params,
try_cache: false
})
.then((event_file_obj_li) => {

View File

@@ -1437,7 +1437,7 @@ WARNING: The file upload and management is a work in progress. You can upload an
</form>
<div class="overflow-x-auto w-full max-w-96 sm:max-w-fit">
<div class="overflow-x-auto w-max max-w-full">
<Element_manage_event_file_li
link_to_type={'event_presenter'}
link_to_id={$lq__event_presenter_obj.event_presenter_id_random}

View File

@@ -329,10 +329,17 @@ $: if ($slct_trigger == 'load__event_file_obj_li') {
$slct_trigger = null;
let ae_params = {
qry__enabled: 'all',
qry__hidden: 'all',
qry__limit: 50
}
events_func.handle_load_ae_obj_li__event_file({
api_cfg: $ae_api,
for_obj_type: 'event_session',
for_obj_id: $events_slct.event_session_id,
params: ae_params,
try_cache: false
});
}

View File

@@ -68,11 +68,17 @@ export async function load({ params, parent }) { // route
}
ae_acct.slct.event_presentation_obj_li = load_event_presentation_obj_li;
let ae_params = {
qry__enabled: 'all',
qry__hidden: 'all',
qry__limit: 50
}
let load_event_file_obj_li = await events_func.handle_load_ae_obj_li__event_file({
api_cfg: ae_acct.api,
for_obj_type: 'event_session',
for_obj_id: event_session_id,
params: {enabled: 'all', qry__limit: 50},
params: ae_params,
try_cache: false
})
.then((event_file_obj_li) => {