Threaded notes

This commit is contained in:
Domovoy 2012-08-03 21:41:26 +02:00
parent 985f16d992
commit cc6e6e53be

View file

@ -129,9 +129,13 @@ function notes_content(&$a,$update = false) {
intval(local_user()), intval(local_user()),
dbesc($parents_str) dbesc($parents_str)
); );
}
$o .= conversation($a,$r,'notes',$update); if(count($r)) {
$items = conv_sort($r,"`commented`");
$o .= conversation($a,$items,'notes',$update, false, true);
}
}
$o .= paginate($a); $o .= paginate($a);