forked from extern/egroupware
Another fix for viewing parent - fix missing last row on first load
This commit is contained in:
parent
e08a8dc12f
commit
75a26eed0c
@ -391,7 +391,7 @@ class infolog_ui
|
|||||||
$parent_first = count($parents) == 1;
|
$parent_first = count($parents) == 1;
|
||||||
$parent_index = 0;
|
$parent_index = 0;
|
||||||
// et2 nextmatch listens to total, and only displays that many rows, so add parent in or we'll lose the last row
|
// et2 nextmatch listens to total, and only displays that many rows, so add parent in or we'll lose the last row
|
||||||
if($parent_first) $query['total']++;
|
if($parent_first || $query['action'] = 'sp' && is_array($query['action_id'])) $query['total']++;
|
||||||
|
|
||||||
// Check to see if we need to remove description
|
// Check to see if we need to remove description
|
||||||
foreach($infos as $id => $info)
|
foreach($infos as $id => $info)
|
||||||
|
Loading…
Reference in New Issue
Block a user