mirror of
https://github.com/Jguer/yay
synced 2024-08-31 13:49:28 +00:00
Fixed sorting issue in improved Narrow Search
This commit is contained in:
parent
9b4667344e
commit
484eb3b75f
|
@ -22,6 +22,9 @@ func NarrowSearch(pkgS []string, sortS bool) (Query, error) {
|
|||
r, err := rpc.Search(pkgS[0])
|
||||
|
||||
if len(pkgS) == 1 {
|
||||
if sortS {
|
||||
sort.Sort(Query(r))
|
||||
}
|
||||
return r, err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue