Upstream patch: Enhancement so filters can be supplied to run_filter()
This commit is contained in:
parent
9dda9f43f4
commit
5c9750e957
@ -1127,8 +1127,9 @@ class Kohana_ORM extends Model implements serializable {
|
||||
* @param string $value The value to filter
|
||||
* @return string
|
||||
*/
|
||||
protected function run_filter($field, $value)
|
||||
protected function run_filter($field, $value, $filters=NULL)
|
||||
{
|
||||
if (is_null($filters))
|
||||
$filters = $this->filters();
|
||||
|
||||
// Get the filters for this column
|
||||
|
Reference in New Issue
Block a user