High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
chore(web): remove arbitrary search result limit (#20719)
Thomas89598cf0be6c
diff --git a/web/src/routes/(user)/search/[[photos=photos]]/[[assetId=id]]/+page.svelte b/web/src/routes/(user)/search/[[photos=photos]]/[[assetId=id]]/+page.svelteindex 48ead6e6b4..e7798b1ac7 100644--- a/web/src/routes/(user)/search/[[photos=photos]]/[[assetId=id]]/+page.svelte+++ b/web/src/routes/(user)/search/[[photos=photos]]/[[assetId=id]]/+page.svelte@@ -50,7 +50,6 @@import { tick } from 'svelte';import { t } from 'svelte-i18n';- const MAX_ASSET_COUNT = 5000;let { isViewing: showAssetViewer } = assetViewingStore;const viewport: Viewport = $state({ width: 0, height: 0 });@@ -149,10 +148,7 @@// eslint-disable-next-line svelte/valid-prop-names-in-kit-pagesexport const loadNextPage = async (force?: boolean) => {- if (!nextPage || searchResultAssets.length >= MAX_ASSET_COUNT) {- return;- }- if (isLoading && !force) {+ if (!nextPage || (isLoading && !force)) {return;}isLoading = true;