bugfixes
This commit is contained in:
parent
28323b9f54
commit
b65ddaf8f0
5 changed files with 7 additions and 3 deletions
|
|
@ -50,7 +50,7 @@ sub classSettings {
|
|||
return {
|
||||
properties => {
|
||||
name => { quote => 1 },
|
||||
parentId => { defaultValue => 0 },
|
||||
parentId => { quote => 1 },
|
||||
collateralFolderId => { key => 1 },
|
||||
description => { quote => 1 }
|
||||
},
|
||||
|
|
|
|||
|
|
@ -457,7 +457,7 @@ sub www_listCollateral {
|
|||
.' '.WebGUI::International::get(542).'</a></td></tr>';
|
||||
}
|
||||
$sth = WebGUI::SQL->read("select collateralFolderId, name, description from collateralFolder
|
||||
where parentId=".quote($folderId)." and collateralFolderId<>0 order by name");
|
||||
where parentId=".quote($folderId)." order by name");
|
||||
while ($data = $sth->hashRef) {
|
||||
$output .= '<tr><td class="tableData"><a href="'.WebGUI::URL::page('op=listCollateral&fid='
|
||||
.$data->{collateralFolderId}.'&pn=1')
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ sub doUserSearch {
|
|||
where $selectedStatus and (users.username like ".$keyword." or email.fieldData like ".$keyword.")
|
||||
and users.userId not in (".quoteAndJoin($userFilter).") order by users.username";
|
||||
if ($returnPaginator) {
|
||||
my $p = WebGUI::Paginator->new(WebGUI::URL::page($op));
|
||||
my $p = WebGUI::Paginator->new(WebGUI::URL::page("op=".$op));
|
||||
$p->setDataByQuery($sql);
|
||||
return $p;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue