mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
Handle changes to query that were not there when sent
This commit is contained in:
parent
4a8b94bed8
commit
ee5d7461fa
@ -483,14 +483,14 @@ class Nextmatch extends Etemplate\Widget
|
||||
$request_value =& self::get_array(self::$request->content, $form_name,true);
|
||||
$changes = $no_rows = false;
|
||||
|
||||
foreach($value_in as $key => $original_value)
|
||||
foreach(array_keys($value_in) + array_keys($value) as $key)
|
||||
{
|
||||
// These keys are ignored
|
||||
if(in_array($key, array('col_filter','start','num_rows','total','order','sort')))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
if($original_value == $value[$key]) continue;
|
||||
if($value_in[$key] == $value[$key]) continue;
|
||||
|
||||
// These keys we don't send row data back, as they cause a partial reload
|
||||
if(in_array($key, array('template'))) $no_rows = true;
|
||||
|
Loading…
Reference in New Issue
Block a user