Use keyword search by default
commit20b838a90c5874c11cb68d3ca0bf7cc3bf3c0180
authorLukas Fleischer <lfleischer@archlinux.org>
Fri, 22 May 2015 10:06:46 +0000 (22 12:06 +0200)
committerLukas Fleischer <lfleischer@archlinux.org>
Fri, 22 May 2015 11:08:06 +0000 (22 13:08 +0200)
tree5a85ebc063e1c6c4576dbf6778393ff6de2419b9
parent913367606e27b5a5c72c63de4da4d5e09f499a03
Use keyword search by default

Change the default search mode such that packages that contain all of
the space-separated search terms are returned. For example, the query

    image edit "command line"

returns all packages where "image", "edit" and "command line" occurs in
the package name or description. This is much more convenient and
general than a simple substring search (one can still perform a
substring search by quoting the whole search term).

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
web/lib/pkgfuncs.inc.php