Bug tracker improvements + added maildir.pl + ncdc FAQ update

This commit is contained in:
Yorhel 2012-10-12 12:45:42 +02:00
parent 8341fb9341
commit bf6e6be5f4
6 changed files with 42 additions and 5 deletions

2
Bug.pm
View file

@ -52,12 +52,14 @@ sub dbListing {
my %o = (
results => 100,
page => 1,
closed => 2,
@_
);
$o{reverse} = 1 if !$o{sort};
my %where = (
$o{id} ? ('i.issue = ?' => $o{id}) : (),
$o{closed} != 2 ? ('!s m.closed' => !$o{closed} ? 'NOT' : '') : (),
);
my $order = sprintf {