[aur-dev] [PATCH 4/6] Only autofocus search field on the package search page

Marcel Korpel marcel.korpel at gmail.com
Fri Jul 10 15:52:50 UTC 2015


* Lukas Fleischer <lfleischer at archlinux.org> (Fri, 10 Jul 2015 16:35:37
+0200):
> Huh? Doesn't this disable the autofocus on the package search page as
> well?

No: $tokens[0] will contain 'packages' and $tokens[1] will be empty,
even if there are query parameters specified, e.g.:

http://aur:8888/packages/?K=invented&SeB=m

$tokens[1] will only be set if there is a package page opened.

Best, Marcel


More information about the aur-dev mailing list