mirror of
https://github.com/Jguer/yay.git
synced 2025-08-07 23:27:13 +02:00
fix(search): fix -Si crash when using metadata engine (#2146)
fix missing By query in metadata search
This commit is contained in:
parent
b51c10ca3e
commit
c721fe7f3b
1
query.go
1
query.go
@ -54,6 +54,7 @@ func syncInfo(ctx context.Context, cfg *settings.Configuration,
|
|||||||
|
|
||||||
info, err = cfg.Runtime.AURCache.Get(ctx, &aur.Query{
|
info, err = cfg.Runtime.AURCache.Get(ctx, &aur.Query{
|
||||||
Needles: noDB,
|
Needles: noDB,
|
||||||
|
By: aur.Name,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
missing = true
|
missing = true
|
||||||
|
Loading…
Reference in New Issue
Block a user