Places: Hide private pictures if "Private" is enabled in Settings #2570
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
6531bb0501
commit
194e7d1219
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue