Fix: Ensure IDAA Recovery Meetings respect the user-defined limit
- Simplified limit logic in search__event and qry_ae_obj_li__event_v2 to use the passed value directly. - Added .slice(0, limit) to filtered results in Event module to handle over-fetching correctly. - Explicitly passed the qry__limit from idaa_loc to the meeting list components. - Applied .limit() to the Dexie liveQuery in the meeting list wrapper. - Updated the UI result count and loop to strictly adhere to the requested limit.
This commit is contained in:
@@ -487,6 +487,7 @@
|
||||
{event_id_random_li}
|
||||
link_to_type={'account'}
|
||||
link_to_id={$ae_loc.account_id}
|
||||
limit={$idaa_loc.recovery_meetings.qry__limit}
|
||||
{log_lvl}
|
||||
/>
|
||||
{:else}
|
||||
|
||||
Reference in New Issue
Block a user