diff --git a/app/about/edit/page.tsx b/app/about/edit/page.tsx
index a0d1e9c2..c02bbdd6 100644
--- a/app/about/edit/page.tsx
+++ b/app/about/edit/page.tsx
@@ -7,6 +7,7 @@ import {
getPhotosMetaCached,
} from '@/photo/cache';
import { getPhoto } from '@/photo/query';
+import { TAG_FAVS } from '@/tag';
const PHOTO_CHOOSER_QUERY_OPTIONS = feedQueryOptions({
isGrid: true,
@@ -22,7 +23,7 @@ export default async function AboutEditPage() {
},
photos,
photosCount,
- photosHidden,
+ photosFavs,
] = await Promise.all([
getAbout()
.then(async about => {
@@ -52,7 +53,7 @@ export default async function AboutEditPage() {
getPhotosMetaCached(PHOTO_CHOOSER_QUERY_OPTIONS)
.then(({ count }) => count)
.catch(() => 0),
- getPhotosCached({ hidden: 'only', limit: 1000 })
+ getPhotosCached({ tag: TAG_FAVS })
.catch(() => []),
]);
@@ -63,7 +64,7 @@ export default async function AboutEditPage() {
photoHero,
photos,
photosCount,
- photosHidden,
+ photosFavs,
shouldResizeImages: !PRESERVE_ORIGINAL_UPLOADS,
}} />
);
diff --git a/app/admin/components/page.tsx b/app/admin/components/page.tsx
index 55d79bad..a395c543 100644
--- a/app/admin/components/page.tsx
+++ b/app/admin/components/page.tsx
@@ -1,17 +1,20 @@
import AdminComponentPageClient from '@/admin/AdminComponentPageClient';
import { INFINITE_SCROLL_GRID_INITIAL } from '@/photo';
import { getPhotosCached, getPhotosMetaCached } from '@/photo/cache';
+import { TAG_FAVS } from '@/tag';
export default async function ComponentsPage() {
const photos = await getPhotosCached({ limit: INFINITE_SCROLL_GRID_INITIAL });
const photosCount = await getPhotosMetaCached()
.then(({ count }) => count);
+ const photosFavs = await getPhotosCached({ tag: TAG_FAVS });
return (