diff --git a/src/lib/ae_api/api_get__crud_obj_li_v2.ts b/src/lib/ae_api/api_get__crud_obj_li_v2.ts index e6289781..f4228f00 100644 --- a/src/lib/ae_api/api_get__crud_obj_li_v2.ts +++ b/src/lib/ae_api/api_get__crud_obj_li_v2.ts @@ -146,6 +146,13 @@ export async function get_ae_obj_li_for_obj_id_crud_v2( console.log('Endpoint:', endpoint); } + // We need to remove a few parameters from the params object that are not allowed. + delete params['qry__enabled']; + delete params['qry__hidden']; + delete params['qry__limit']; + delete params['qry__offset']; + + if (for_obj_type) { params['for_obj_type'] = for_obj_type; } @@ -163,7 +170,9 @@ export async function get_ae_obj_li_for_obj_id_crud_v2( params['exp_alt'] = 'alt'; // Use alternate export table or view name } - /* Need to deal with inc params here */ + + // Need to deal with inc params here??? + let allowed_enabled_list = ['all', 'enabled', 'not_enabled'] if (allowed_enabled_list.includes(enabled) ) { diff --git a/src/routes/idaa/(idaa)/+layout.svelte b/src/routes/idaa/(idaa)/+layout.svelte index ffa9a069..83e48334 100644 --- a/src/routes/idaa/(idaa)/+layout.svelte +++ b/src/routes/idaa/(idaa)/+layout.svelte @@ -37,10 +37,18 @@ if (browser) { $ae_loc.access_type = 'authenticated'; $ae_loc.authenticated_access = true; $ae_loc.anonymous_access = true; + + // Resetting these just in case... + $idaa_loc.bb.qry__hidden == 'not_hidden'; + $idaa_loc.bb.qry__enabled == 'enabled'; } else if ($ae_loc.iframe) { $ae_loc.access_type = 'anonymous'; $ae_loc.authenticated_access = false; $ae_loc.anonymous_access = true; + + // Resetting these just in case... + $idaa_loc.bb.qry__hidden == 'not_hidden'; + $idaa_loc.bb.qry__enabled == 'enabled'; } // NOTE: Check if the novi_uuid is in the novi_admin_li list