adding query param for db_get_paged