[aur-dev] [PATCH] Do not display current votes in All Votes
Lukas Fleischer
archlinux at cryptocrack.de
Tue Nov 2 15:09:53 EDT 2010
On Tue, Nov 02, 2010 at 05:47:12PM +0100, Andrea Scarpino wrote:
> <?php
> - $q = "SELECT * FROM TU_VoteInfo ORDER BY Submitted " . $order . $lim;
> + $q = "SELECT * FROM TU_VoteInfo WHERE End < " . time() . " ORDER BY Submitted " . $order . $lim;
> $result = db_query($q, $dbh);
>
> $type = __("All Votes");
Looks good in general but why should current votes not be listed in the
"All Votes" section? I'd suggest renaming "All Votes" to "Closed Votes"
or something similar then.
More information about the aur-dev
mailing list