async fn admin_facing_page(
conn: &mut PgConnection,
filters: &AdminCreditRegistrationFilters<'_>,
sort: AdminCreditRegistrationSort,
limit: i64,
offset: i64,
) -> ModelResult<Vec<AdminCreditRegistration>>Expand description
The query behind get_admin_facing. total_count is computed before the limit, so every row
of a page carries the count of the whole filtered ledger.