aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/photos-app.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/photos-app.js')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/photos-app.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/photos-app.js b/packages/meshbay-hub/src/meshbay_hub/static/photos-app.js
index d63b384..1755392 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/photos-app.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/photos-app.js
@@ -373,4 +373,9 @@ function PhotosApp({
`;
}
-export { PhotosApp };
+// groupPhotoAlbums is exported for the Search page, which needs the album a
+// photo belongs to in order to merge duplicate sources per album rather than
+// per file (docs/refactoring-search.md §5.2). It calls this one, never a copy:
+// a second implementation of the album key would keep agreeing with this one
+// right up until one of them changed.
+export { PhotosApp, groupPhotoAlbums };