diff --git a/webapp/src/app/resolvers/founder-statistics.resolver.ts b/webapp/src/app/resolvers/founder-statistics.resolver.ts index c2c1643a..b1c9a42d 100644 --- a/webapp/src/app/resolvers/founder-statistics.resolver.ts +++ b/webapp/src/app/resolvers/founder-statistics.resolver.ts @@ -6,12 +6,15 @@ import { FounderStatistics, MultiplicatorsService } from '../api'; * Founder-potential statistics for the dashboard (KPIs, funnel, career-stage * and research-area breakdowns). Re-resolved when the `threshold` query param * changes, so the shortlist counts always match the slider in the URL. + * + * The threshold is opt-in. When the param is absent there is no shortlist cut, + * so 0 is used: every scored profile counts, matching the unfiltered list. */ export const founderStatisticsResolver: ResolveFn = ( route, ) => { const service = inject(MultiplicatorsService); - const threshold = toNumber(route.queryParamMap.get('threshold')) ?? 90; + const threshold = toNumber(route.queryParamMap.get('threshold')) ?? 0; // Remaining cutoffs mirror the backend defaults; only the threshold is // exposed to the user for now. return service.getFounderStatistics(threshold, 7, 0.7, 40, 40);