mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
Send category options - header doesn't use a template, so they have to be passed
This commit is contained in:
parent
8f9db8e353
commit
c230e5f99a
@ -98,6 +98,13 @@ class etemplate_widget_nextmatch extends etemplate_widget
|
||||
$value['num_rows'] = self::INITIAL_ROWS;
|
||||
$value['rows'] = array();
|
||||
$value['total'] = self::call_get_rows($value, $value['rows'], self::$request->readonlys);
|
||||
|
||||
// Send categories
|
||||
if(!$value['no_cat'] && !$value['cat_is_select'])
|
||||
{
|
||||
$cat_app = $value['cat_app'] ? $value['cat_app'] : '';
|
||||
$value['options-cat_id'] = etemplate_widget_menupopup::typeOptions('select-cat', ',,'.$cat_app,$no_lang,false,$value['cat_id']);
|
||||
}
|
||||
// todo: no need to store rows in request, it's enought to send them to client
|
||||
|
||||
error_log(__METHOD__."() $this: total=$value[total]");
|
||||
|
Loading…
Reference in New Issue
Block a user