From b7666cb4e387dd534feff8b7790957812ead38fe Mon Sep 17 00:00:00 2001 From: Karol Baraniecki Date: Wed, 19 Sep 2018 00:00:36 +0200 Subject: 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. --- src/aur.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/aur.nim') 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) -- cgit v1.2.3-70-g09d2