{#key result} {#if collection.viewKey === 'list'} openJson(e.detail?.itemKey)} /> {:else} ({ key: c.key, title: c.key })) || []} showHeaders={true} items={result.results ? result.results.map(r => EJSON.deserialize(r)) : []} bind:activePath on:trigger={e => openJson(e.detail?.itemKey)} /> {/if} {/key}
{#key result} Results: {result.total || 0} {/key}
{#each [ 1, 5, 10, 25, 50, 100, 200 ] as value} {#if submittedForm?.limit} {#each Array(lastPage).fill('').map((_, i) => i * submittedForm.limit) as value} {/if}