1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-16 11:44:42 +02:00

update Fieldtypes::sort() method for new argument per processwire/processwire-issues#841

This commit is contained in:
Ryan Cramer
2019-04-02 14:04:42 -04:00
parent 8cdb9886e7
commit 40c8eea7c6

View File

@@ -146,7 +146,7 @@ class Fieldtypes extends WireArray {
public function eq($num) { $this->preload(); return parent::eq($num); }
public function first() { $this->preload(); return parent::first(); }
public function last() { $this->preload(); return parent::last(); }
public function sort($properties) { $this->preload(); return parent::sort($properties); }
public function sort($properties, $flags = null) { $this->preload(); return parent::sort($properties, $flags); }
protected function filterData($selectors, $not = false) { $this->preload(); return parent::filterData($selectors, $not); }
public function makeCopy() { $this->preload(); return parent::makeCopy(); }
public function makeNew() { $this->preload(); return parent::makeNew(); }