diff options
author | Karol Baraniecki | 2018-09-18 22:00:36 +0000 |
---|---|---|
committer | Karol Baraniecki | 2018-09-18 22:00:36 +0000 |
commit | b7666cb4e387dd534feff8b7790957812ead38fe (patch) | |
tree | 973d811a32f2b778fc908f2f694da7491635e0f2 /src/aur.nim | |
parent | e6b77b3fbd3b3c526180dfea1eb8a34de63efb95 (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/aur.nim')
-rw-r--r-- | src/aur.nim | 2 |
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) |