mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-07 06:29:49 +01:00
"fix for bug: checking \"whole query\" sets number of rows to -1"
This commit is contained in:
parent
3d195218f1
commit
326a31722b
@ -759,8 +759,14 @@ class addressbook_ui extends addressbook_bo
|
|||||||
$do_email = $query['do_email'];
|
$do_email = $query['do_email'];
|
||||||
$what = $query['sitemgr_display'] ? $query['sitemgr_display'] : ($do_email ? 'email' : 'index');
|
$what = $query['sitemgr_display'] ? $query['sitemgr_display'] : ($do_email ? 'email' : 'index');
|
||||||
|
|
||||||
$old_state = $GLOBALS['egw']->session->appsession($what,'addressbook',$query);
|
if (!$id_only)
|
||||||
|
{
|
||||||
|
$old_state = $GLOBALS['egw']->session->appsession($what,'addressbook',$query);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$old_state = $GLOBALS['egw']->session->appsession($what,'addressbook');
|
||||||
|
}
|
||||||
if (!isset($this->org_views[(string) $query['org_view']])) // we dont have an org view, unset the according col_filters
|
if (!isset($this->org_views[(string) $query['org_view']])) // we dont have an org view, unset the according col_filters
|
||||||
{
|
{
|
||||||
if (isset($query['col_filter']['org_name'])) unset($query['col_filter']['org_name']);
|
if (isset($query['col_filter']['org_name'])) unset($query['col_filter']['org_name']);
|
||||||
|
Loading…
Reference in New Issue
Block a user