Improved JS, updating single items now work
This commit is contained in:
parent
4070ad1815
commit
9cf342f02a
3 changed files with 40 additions and 37 deletions
|
@ -760,10 +760,12 @@ function networkThreadedView(App $a, $update, $parent)
|
|||
// Fetch a page full of parent items for this page
|
||||
if ($update) {
|
||||
if (!empty($parent)) {
|
||||
logger('Blubb: '.$parent);
|
||||
$sql_extra4 = "`item`.`id` = ".intval($parent);
|
||||
} else {
|
||||
$sql_extra4 = "`item`.`unseen`";
|
||||
if (Config::get("system", "like_no_comment")) {
|
||||
$sql_extra4 .= " AND `item`.`verb` = '".ACTIVITY_POST."'";
|
||||
}
|
||||
}
|
||||
|
||||
$r = q("SELECT `item`.`parent-uri` AS `uri`, `item`.`parent` AS `item_id`, $sql_order AS `order_date`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue