projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20e58b2
)
Pman/Roo.php
author
Alan Knowles
<alan@akbkhome.com>
Tue, 21 Sep 2010 05:26:30 +0000
(13:26 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 21 Sep 2010 05:26:30 +0000
(13:26 +0800)
Pman/Roo.php
patch
|
blob
|
history
diff --git
a/Pman/Roo.php
b/Pman/Roo.php
index
d60d481
..
2138eef
100644
(file)
--- a/
Pman/Roo.php
+++ b/
Pman/Roo.php
@@
-272,7
+272,7
@@
class Pman_Roo extends Pman
function applySort($x)
{
- Db_DataObject::debugLevel(1);
+
Db_DataObject::debugLevel(1);
$sort = empty($_REQUEST['sort']) ? '' : $_REQUEST['sort'];
$dir = (empty($_REQUEST['dir']) || strtoupper($_REQUEST['dir']) == 'ASC' ? 'ASC' : 'DESC');
@@
-296,6
+296,7
@@
class Pman_Roo extends Pman
$sort_str[] = $sort . ' ' . $dir ;
}
}
+ print_R($sort_str);
if ($sort_str) {
$x->orderBy(implode(', ', $sort_str ));
}