aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKarol Baraniecki2018-09-18 22:00:36 +0000
committerKarol Baraniecki2018-09-18 22:00:36 +0000
commitb7666cb4e387dd534feff8b7790957812ead38fe (patch)
tree973d811a32f2b778fc908f2f694da7491635e0f2 /src
parente6b77b3fbd3b3c526180dfea1eb8a34de63efb95 (diff)
Make pakku search the AUR by "name and description"
to make pakku -Ss consistent for packages in the AUR and ones not in the AUR.
Diffstat (limited to 'src')
-rw-r--r--src/aur.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aur.nim b/src/aur.nim
index b729114..7d38fad 100644
--- a/src/aur.nim
+++ b/src/aur.nim
@@ -129,7 +129,7 @@ proc findAurPackages*(query: seq[string], repo: string, useTimeout: bool):
withAur():
try:
withCurl(instance):
- let url = aurUrl & "rpc/?v=5&type=search&by=name&arg=" &
+ let url = aurUrl & "rpc/?v=5&type=search&by=name-desc&arg=" &
instance.escape(query[0])
let response = performString(url, useTimeout)