Places: Hide private pictures if "Private" is enabled in Settings #2570

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2022-08-02 09:26:42 +02:00
parent 6531bb0501
commit 194e7d1219

View file

@ -70,8 +70,8 @@ func SearchGeo(router *gin.RouterGroup) {
f.Private = false
f.Archived = false
f.Review = false
} else if !conf.Settings().Features.Private {
f.Public = false
} else {
f.Public = conf.Settings().Features.Private
}
// Find matching pictures.