[aur-dev] FS#12791 - Faster navigation withing package search listing by page numbers
Hi, I attach two proposed patches (one functional, one aesthetic) for the above feature request. The first one adds page numbering functionality to the pkg_search_results template. The second one switches the order of the "Legend" field and the "Showing results: ...", since it seem to make more sense like that if there's page numbering. Let me know what you think of it, or if it should be implemented in another way. I only checked it with operating the site with the current buttons (search, more, less), no manual setting of the parameters in the URL. Cheers, Greg
On Sun, Jan 18, 2009 at 05:21:39PM +0800, Gergely Imreh wrote:
Hi,
I attach two proposed patches (one functional, one aesthetic) for the above feature request. The first one adds page numbering functionality to the pkg_search_results template. The second one switches the order of the "Legend" field and the "Showing results: ...", since it seem to make more sense like that if there's page numbering. Let me know what you think of it, or if it should be implemented in another way. I only checked it with operating the site with the current buttons (search, more, less), no manual setting of the parameters in the URL.
Cool stuff. I pushed these two patches, plus another one to make the code more readable, etc. I'd say you were using an awful lot of <?php ?> Thanks.
Hi, 2009/1/20 Loui Chang <louipc.ist@gmail.com>:
I'd say you were using an awful lot of <?php ?>
Sorry about that, wasn't exactly sure what would be the accepted code style (especially because it's a template, and obviously overdone it. Fortunately, I think, it is pretty easy to combine those <?php ?> lines. Next time I'll know. Cheers. :)
participants (2)
-
Gergely Imreh
-
Loui Chang