mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 09:53:20 +01:00
Set option for num_rows
This commit is contained in:
parent
227a5b28da
commit
e9de76af7a
@ -420,6 +420,10 @@ var et2_historylog = (function(){ "use strict"; return et2_valueWidget.extend([e
|
|||||||
// Skip getting data if there's no ID
|
// Skip getting data if there's no ID
|
||||||
if(!this.value.id) return;
|
if(!this.value.id) return;
|
||||||
|
|
||||||
|
// Set num_rows to fetch via nextmatch
|
||||||
|
if ( this.options.value['num_rows'] )
|
||||||
|
_queriedRange['num_rows'] = this.options.value['num_rows'];
|
||||||
|
|
||||||
// Pass the fetch call to the API
|
// Pass the fetch call to the API
|
||||||
this.egw().dataFetch(
|
this.egw().dataFetch(
|
||||||
this.getInstanceManager().etemplate_exec_id,
|
this.getInstanceManager().etemplate_exec_id,
|
||||||
|
@ -56,6 +56,7 @@ use notifications;
|
|||||||
* $content['history'] = array(
|
* $content['history'] = array(
|
||||||
* 'id' => 123,
|
* 'id' => 123,
|
||||||
* 'app' => 'calendar',
|
* 'app' => 'calendar',
|
||||||
|
* 'num_rows' => 50, // optional, defaults to 50
|
||||||
* 'status-widgets' => array(
|
* 'status-widgets' => array(
|
||||||
* 'title' => 'label', // no need to set, as default is label
|
* 'title' => 'label', // no need to set, as default is label
|
||||||
* 'date' => 'datetime',
|
* 'date' => 'datetime',
|
||||||
|
Loading…
Reference in New Issue
Block a user