| @@ 317-321 (lines=5) @@ | ||
| 314 | } |
|
| 315 | //error_log(__METHOD__."() prefs[listNoSubs]=".array2string($this->prefs['listNoSubs'])." --> parent_id=$parent_id"); |
|
| 316 | unset($query['col_filter']['parent_id']); |
|
| 317 | if(!$query['action']) |
|
| 318 | { |
|
| 319 | Api\Cache::setSession('infolog', $query['session_for'].'session_data', |
|
| 320 | array_diff_key ($query, array_flip(array('rows','actions','action_links','placeholder_actions')))); |
|
| 321 | } |
|
| 322 | $query['actions'] = $this->get_actions($query); |
|
| 323 | $query['row_id'] = 'info_id'; |
|
| 324 | $query['row_modified'] = 'row_mod'; |
|
| @@ 282-286 (lines=5) @@ | ||
| 279 | } |
|
| 280 | } |
|
| 281 | ||
| 282 | if (!$params['csv_export']) |
|
| 283 | { |
|
| 284 | Api\Cache::setSession('calendar', 'calendar_list', |
|
| 285 | array_diff_key ($params, array_flip(array('rows', 'actions', 'action_links', 'placeholder_actions')))); |
|
| 286 | } |
|
| 287 | // do we need to query custom fields and which |
|
| 288 | // Check stored preference if selectcols isn't available (ie: first call) |
|
| 289 | $select_cols = $params['selectcols'] ? $params['selectcols'] : $GLOBALS['egw_info']['user']['preferences']['calendar']['nextmatch-calendar.list.rows']; |
|
| @@ 825-829 (lines=5) @@ | ||
| 822 | function get_rows(&$query, &$rows) |
|
| 823 | { |
|
| 824 | // do NOT store query, if hierarchical data / children are requested |
|
| 825 | if (!$query['csv_export']) |
|
| 826 | { |
|
| 827 | Api\Cache::setSession('filemanager', 'index', |
|
| 828 | array_diff_key ($query, array_flip(array('rows','actions','action_links','placeholder_actions')))); |
|
| 829 | } |
|
| 830 | if(!$query['path']) $query['path'] = static::get_home_dir(); |
|
| 831 | ||
| 832 | // Change template to match selected view |
|