|
|
|
@ -165,6 +165,7 @@ class ItemDAO extends SQL { |
|
|
|
select * from item natural join ( |
|
|
|
select distinct node, max(updated) as num from postn |
|
|
|
where node != :node |
|
|
|
and node != :microblog |
|
|
|
group by node |
|
|
|
order by node) as post |
|
|
|
order by num desc |
|
|
|
@ -176,7 +177,8 @@ class ItemDAO extends SQL { |
|
|
|
$this->prepare( |
|
|
|
'Item', |
|
|
|
array( |
|
|
|
'node' => 'urn:xmpp:microblog:0:comments%' |
|
|
|
'node' => 'urn:xmpp:microblog:0:comments%', |
|
|
|
'microblog' => 'urn:xmpp:microblog:0' |
|
|
|
) |
|
|
|
); |
|
|
|
|
|
|
|
|