General code clean up related to the person functions. Less direct use of params and params_json

This commit is contained in:
Scott Idem
2025-06-10 14:32:00 -04:00
parent 39a878ac38
commit c10abd596e
6 changed files with 75 additions and 47 deletions

View File

@@ -676,13 +676,19 @@ $: if ($lq__event_session_obj) {
on:click={async () => {
console.log('Edit the POC person for the session.');
let params = {
qry__limit: 300,
}
// let params = {
// qry__limit: 300,
// }
// $slct.person_obj_li = await core_func.load_ae_obj_li__person({api_cfg: $ae_api, account_id: $slct.account_id, params: params});
$slct.person_obj_li = core_func.load_ae_obj_li__person({api_cfg: $ae_api, for_obj_type: 'account', for_obj_id: $slct.account_id, params: params})
$slct.person_obj_li = core_func.load_ae_obj_li__person({
api_cfg: $ae_api,
for_obj_type: 'account',
for_obj_id: $slct.account_id,
limit: $ae_sess.person.qry_limit__people,
// params: params
})
.then(function (load_results) {
console.log(`Loaded person_obj_li:`, load_results);