mirror of
https://github.com/processwire/processwire.git
synced 2025-08-23 06:44:38 +02:00
Fix issue processwire/processwire-issues#548 WireLog::getLines method wasn't passing options array to FileLog::find
This commit is contained in:
@@ -12,6 +12,9 @@
|
||||
* https://processwire.com
|
||||
*
|
||||
* @method bool save($name, $text, $options = array())
|
||||
*
|
||||
* @todo option to avoid saving same log entry text back-to-back
|
||||
* @todo option to disable logs by name
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -246,7 +249,7 @@ class WireLog extends Wire {
|
||||
unset($options['pageNum']);
|
||||
$log = $this->getFileLog($name);
|
||||
$limit = isset($options['limit']) ? (int) $options['limit'] : 100;
|
||||
return $log->find($limit, $pageNum);
|
||||
return $log->find($limit, $pageNum, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -30,7 +30,7 @@ $ukGridWidths = array(
|
||||
'40%' => '2-5',
|
||||
'34%' => '1-3',
|
||||
'33%' => '1-3',
|
||||
'32%' => '2-6',
|
||||
'32%' => '1-3',
|
||||
'30%' => '1-3',
|
||||
'25%' => '1-4',
|
||||
'20%' => '1-5',
|
||||
|
Reference in New Issue
Block a user