Making the max person results sticky
This commit is contained in:
@@ -48,7 +48,7 @@ let person_id_random_li: string[] = [];
|
||||
console.log('Edit the POC person for the session.');
|
||||
|
||||
// let params = {
|
||||
// qry__limit: $ae_sess.person.qry_limit__people,
|
||||
// qry__limit: $ae_loc.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,7 @@ let person_id_random_li: string[] = [];
|
||||
api_cfg: $ae_api,
|
||||
for_obj_type: 'account',
|
||||
for_obj_id: $slct.account_id,
|
||||
limit: $ae_sess.person.qry_limit__people,
|
||||
limit: $ae_loc.person.qry_limit__people,
|
||||
// params: params,
|
||||
log_lvl: 1
|
||||
})
|
||||
@@ -167,7 +167,7 @@ let person_id_random_li: string[] = [];
|
||||
|
||||
<select
|
||||
id="qry_limit__people"
|
||||
bind:value={$ae_sess.person.qry_limit__people}
|
||||
bind:value={$ae_loc.person.qry_limit__people}
|
||||
on:change={() => {
|
||||
core_func.load_ae_obj_li__person({
|
||||
api_cfg: $ae_api,
|
||||
@@ -175,11 +175,11 @@ let person_id_random_li: string[] = [];
|
||||
for_obj_id: $slct.account_id,
|
||||
enabled: 'enabled',
|
||||
hidden: 'not_hidden',
|
||||
limit: $ae_sess.person.qry_limit__people,
|
||||
limit: $ae_loc.person.qry_limit__people,
|
||||
// params: {
|
||||
// 'qry__enabled': 'enabled',
|
||||
// 'qry__hidden': 'not_hidden',
|
||||
// 'qry__limit': $ae_sess.person.qry_limit__people,},
|
||||
// 'qry__limit': $ae_loc.person.qry_limit__people,},
|
||||
log_lvl: 1,
|
||||
})
|
||||
.then(function (load_results) {
|
||||
|
||||
@@ -110,7 +110,7 @@ let lq_kv__person_obj_li = liveQuery(
|
||||
href="/core/user/{person_obj?.user_id_random}"
|
||||
class="text-blue-500 underline hover:text-blue-800"
|
||||
>
|
||||
{@html person_obj?.username ?? 'username'+ae_snip.html__not_set}
|
||||
{@html person_obj?.username ?? ae_snip.html__not_set}
|
||||
</a>
|
||||
{:else}
|
||||
{@html ae_snip.html__not_set}
|
||||
|
||||
Reference in New Issue
Block a user