diff options
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) |