From b75b4a89a0b7be49cd44819f17f1c66aa96813e2 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Mon, 18 Apr 2022 17:05:14 +0200 Subject: [PATCH] Index: Do not skip related files if the main file has no changes --- internal/photoprism/index_related.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/internal/photoprism/index_related.go b/internal/photoprism/index_related.go index dc77e75eb..8a0aa07f1 100644 --- a/internal/photoprism/index_related.go +++ b/internal/photoprism/index_related.go @@ -28,12 +28,6 @@ func IndexRelated(related RelatedFiles, ind *Index, o IndexOptions) (result Inde } else if !result.Success() { // Skip related files if indexing was not completely successful. return result - } else if !result.Indexed() { - // Skip related files if main file was not indexed but for example skipped. - if related.Len() > 1 { - log.Warnf("index: %s has %s", related.MainLogName(), english.Plural(related.Count(), "related file", "related files")) - } - return result } else if result.Stacked() && related.Len() > 1 { // Show info if main file was stacked and has additional related files. log.Infof("index: %s has %s", related.MainLogName(), english.Plural(related.Count(), "related file", "related files"))