From 484eb3b75f7b679f75b25c5949d0d436eca97d38 Mon Sep 17 00:00:00 2001 From: Jguer Date: Tue, 2 May 2017 16:59:30 +0100 Subject: [PATCH] Fixed sorting issue in improved Narrow Search --- aur/aur.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aur/aur.go b/aur/aur.go index d4c0bde2..4ab0233d 100644 --- a/aur/aur.go +++ b/aur/aur.go @@ -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 }