mirror of
https://github.com/Jguer/yay
synced 2024-10-31 04:12:51 +00:00
Fixed sorting issue in improved Narrow Search
This commit is contained in:
parent
9b4667344e
commit
484eb3b75f
1 changed files with 3 additions and 0 deletions
|
@ -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