projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d20b922
)
DataObjects/Core_event_audit.php
author
Alan Knowles
<alan@roojs.com>
Wed, 28 Sep 2011 05:02:59 +0000
(13:02 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 28 Sep 2011 05:02:59 +0000
(13:02 +0800)
DataObjects/Core_event_audit.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_event_audit.php
b/DataObjects/Core_event_audit.php
index
61bca74
..
d25d4b3
100644
(file)
--- a/
DataObjects/Core_event_audit.php
+++ b/
DataObjects/Core_event_audit.php
@@
-72,7
+72,7
@@
class Pman_Core_DataObjects_Core_event_audit extends DB_DataObject
join_event_id_id .on_table = '{$event->on_table}' AND
join_event_id_id .on_id = {$event->on_id}
");
- $x->orderBy('
Events
.event_when DESC');
+ $x->orderBy('
join_event_id_id
.event_when DESC');
$x->limit(1);
if (!$x->find(true)) {
return 0;