[aur-dev] [PATCH] add search only by name and use it as default

Loui Chang louipc.ist at gmail.com
Thu Apr 15 15:27:18 EDT 2010


On Wed 10 Mar 2010 20:01 +0100, Andrea Scarpino wrote:
> On Wednesday 10 March 2010 19:50:25 Nathan Wayde wrote:
> > Please don't make it name-only by default, the search is crappy enough
> > already without the extra effort to make it kinda-work-sorta.

> I think is better to search by name as default.

Please test your patches!

Missing a closing parenthesis:
+                       $q.= "AND (Name LIKE '%".$_GET['K']."%' ";

Also, the default should remain name and desc even when opening up the
advanced search, so it should be the first option in the combobox.

Thanks for the patch. I've applied those changes.


More information about the aur-dev mailing list