Smaller sponsoring page size

This commit is contained in:
Nicolai Ort 2023-04-19 18:23:07 +02:00
parent d6d88f5f60
commit 7cb6b63eb9
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F

View File

@ -23,7 +23,10 @@
import DonationStatus from "./DonationStatus.svelte"; import DonationStatus from "./DonationStatus.svelte";
import DonationTableAction from "./DonationTableAction.svelte"; import DonationTableAction from "./DonationTableAction.svelte";
import DeleteDonationModal from "./DeleteDonationModal.svelte"; import DeleteDonationModal from "./DeleteDonationModal.svelte";
import { donationDonorFilter, donationRunnerFilter } from "../shared/tablefilters"; import {
donationDonorFilter,
donationRunnerFilter,
} from "../shared/tablefilters";
$: searchvalue = ""; $: searchvalue = "";
$: active_deletes = []; $: active_deletes = [];
$: active_edits = []; $: active_edits = [];
@ -173,7 +176,7 @@
while (page >= 0) { while (page >= 0) {
const donations = await DonationService.donationControllerGetAll( const donations = await DonationService.donationControllerGetAll(
page, page,
500 100
); );
if (donations.length == 0) { if (donations.length == 0) {
page = -2; page = -2;