General code clean up related to the person functions. Less direct use of params and params_json
This commit is contained in:
@@ -47,9 +47,9 @@ let person_id_random_li: string[] = [];
|
||||
on:click={() => {
|
||||
console.log('Edit the POC person for the session.');
|
||||
|
||||
let params = {
|
||||
qry__limit: $ae_sess.person.qry_limit__people,
|
||||
}
|
||||
// let params = {
|
||||
// qry__limit: $ae_sess.person.qry_limit__people,
|
||||
// }
|
||||
|
||||
// $slct.person_obj_li = await core_func.load_ae_obj_li__person({api_cfg: $ae_api, account_id: $slct.account_id, params: params});
|
||||
|
||||
@@ -57,7 +57,8 @@ let person_id_random_li: string[] = [];
|
||||
api_cfg: $ae_api,
|
||||
for_obj_type: 'account',
|
||||
for_obj_id: $slct.account_id,
|
||||
params: params,
|
||||
limit: $ae_sess.person.qry_limit__people,
|
||||
// params: params,
|
||||
log_lvl: 1
|
||||
})
|
||||
.then(function (load_results) {
|
||||
@@ -172,10 +173,13 @@ let person_id_random_li: string[] = [];
|
||||
api_cfg: $ae_api,
|
||||
for_obj_type: 'account',
|
||||
for_obj_id: $slct.account_id,
|
||||
params: {
|
||||
'qry__enabled': 'enabled',
|
||||
'qry__hidden': 'not_hidden',
|
||||
'qry__limit': $ae_sess.person.qry_limit__people,},
|
||||
enabled: 'enabled',
|
||||
hidden: 'not_hidden',
|
||||
limit: $ae_sess.person.qry_limit__people,
|
||||
// params: {
|
||||
// 'qry__enabled': 'enabled',
|
||||
// 'qry__hidden': 'not_hidden',
|
||||
// 'qry__limit': $ae_sess.person.qry_limit__people,},
|
||||
log_lvl: 1,
|
||||
})
|
||||
.then(function (load_results) {
|
||||
|
||||
Reference in New Issue
Block a user