mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Option "searching" defaults to false
This commit is contained in:
parent
db943c077b
commit
953336d250
@ -121,7 +121,7 @@ class Table extends WidgetBase
|
||||
|
||||
$this->vars['recordsPerPage'] = $this->getConfig('recordsPerPage', false) ?: 'false';
|
||||
$this->vars['postbackHandlerName'] = $this->getConfig('postbackHandlerName', 'onSave');
|
||||
$this->vars['searching'] = $this->getConfig('searching', true);
|
||||
$this->vars['searching'] = $this->getConfig('searching', false);
|
||||
$this->vars['adding'] = $this->getConfig('adding', true);
|
||||
$this->vars['deleting'] = $this->getConfig('deleting', true);
|
||||
$this->vars['toolbar'] = $this->getConfig('toolbar', true);
|
||||
|
@ -1133,7 +1133,7 @@
|
||||
if (typeof option == 'string') result = data[option].apply(data, args)
|
||||
if (typeof result != 'undefined') return false
|
||||
})
|
||||
|
||||
|
||||
return result ? result : this
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user