mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:04:53 +01:00
fix to jump back to the start, if search returns less items than acutal position is
This commit is contained in:
parent
f8e0994cfb
commit
74ffa874bd
@ -40,6 +40,11 @@
|
||||
if ($do_get_rows)
|
||||
{
|
||||
$value['rows'] = ExecMethod($value['get_rows'],$value);
|
||||
if ($value['start'] > $value['rows'][0])
|
||||
{
|
||||
$value['start'] = 0;
|
||||
$value['rows'] = ExecMethod($value['get_rows'],$value);
|
||||
}
|
||||
$GLOBALS['phpgw_info']['etemplate']['extension_data']['nextmatch_widget'][$cell['name']]['total'] = $value['rows'][0];
|
||||
}
|
||||
if ($cell['size'])
|
||||
|
Loading…
Reference in New Issue
Block a user