[aur-dev] [PATCH 1/1] Fix for issue FS#49134 - AUR site search includes packages' keywords when searching by name and description

Nodiv Byzero nodivbyzero at gmail.com
Mon Jan 9 02:25:56 UTC 2017


There is a search by 'package name & description' according to the
function comment.
File: pkgfuncs.inc.php
/* ...
    SeB- property that search string (K) represents
          values: n  - package name
                  nd - package name & description
                  b  - package base name
                  N  - package name (exact match)
                  B  - package base name (exact match)
                  k  - package keyword(s)
                  m  - package maintainer's username
                  s  - package submitter's username
...
*/
Correct me if I'm wrong, but this patch does not break search
functionality using web-form. The patch would work only if user
manually specifies 'nd' in url. Default search uses name and keywords.

So, it looks good to me :)


More information about the aur-dev mailing list