mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-27 21:32:46 +02:00
remove server-side querying of links, as we do that now client-side and server-side can stall whole list
This commit is contained in:
parent
c35ea9bfd6
commit
ee51a6cf09
@ -476,7 +476,6 @@ class infolog_ui
|
|||||||
// query all links and sub counts in one go
|
// query all links and sub counts in one go
|
||||||
if($infos && (!$query['csv_export'] || !is_array($query['csv_export'])))
|
if($infos && (!$query['csv_export'] || !is_array($query['csv_export'])))
|
||||||
{
|
{
|
||||||
$links = Link::get_links_multiple('infolog', array_keys($infos), true, '', 'link_lastmod DESC', true); // true=incl. deleted
|
|
||||||
$anzSubs = $this->bo->anzSubs(array_keys($infos));
|
$anzSubs = $this->bo->anzSubs(array_keys($infos));
|
||||||
}
|
}
|
||||||
$rows = array();
|
$rows = array();
|
||||||
@ -505,7 +504,6 @@ class infolog_ui
|
|||||||
{
|
{
|
||||||
if(!$query['csv_export'] || !is_array($query['csv_export']))
|
if(!$query['csv_export'] || !is_array($query['csv_export']))
|
||||||
{
|
{
|
||||||
$info['links'] =& $links[$id];
|
|
||||||
$info['info_anz_subs'] = (int)$anzSubs[$id];
|
$info['info_anz_subs'] = (int)$anzSubs[$id];
|
||||||
$info = $this->get_info($info, $readonlys, null, null, false, $details);
|
$info = $this->get_info($info, $readonlys, null, null, false, $details);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user