Browse Source

fix(search): fix -Si crash when using metadata engine (#2146)

fix missing By query in metadata search
Jo 2 years ago
parent
commit
c721fe7f3b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      query.go

+ 1 - 0
query.go

@@ -54,6 +54,7 @@ func syncInfo(ctx context.Context, cfg *settings.Configuration,
 
 		info, err = cfg.Runtime.AURCache.Get(ctx, &aur.Query{
 			Needles: noDB,
+			By:      aur.Name,
 		})
 		if err != nil {
 			missing = true