Author: kthakore <thakore.kartik@gmail.com>
Date: Sun May 22 16:02:00 2011 -0400
Fixed SQL statement for ?op=listUsers operation.
This commit is contained in:
parent
f14f2e59c9
commit
7687203a2f
1 changed files with 2 additions and 2 deletions
|
|
@ -232,10 +232,10 @@ sub doUserSearch {
|
||||||
and users.userId not in (".$session->db->quoteAndJoin($userFilter).") order by users.username";
|
and users.userId not in (".$session->db->quoteAndJoin($userFilter).") order by users.username";
|
||||||
if ($returnPaginator) {
|
if ($returnPaginator) {
|
||||||
my $p = WebGUI::Paginator->new($session,$session->url->page("op=".$op));
|
my $p = WebGUI::Paginator->new($session,$session->url->page("op=".$op));
|
||||||
$p->setDataByQuery($sql, undef, undef, [$keyword, $keyword, $keyword, $keyword, $keyword]);
|
$p->setDataByQuery($sql, undef, undef, [$keyword, $keyword, $keyword, $keyword, $keyword, $keyword]);
|
||||||
return $p;
|
return $p;
|
||||||
} else {
|
} else {
|
||||||
my $sth = $session->dbSlave->read($sql, [$keyword, $keyword, $keyword, $keyword, $keyword]);
|
my $sth = $session->dbSlave->read($sql, [$keyword, $keyword, $keyword, $keyword, $keyword, $keyword]);
|
||||||
return $sth;
|
return $sth;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue