Compare commits
No commits in common. "ee62c8975ff01d23ea40f16aa76d07e12f134340" and "0fc39f5a723d41c16ef58701517d4dd04eb727c7" have entirely different histories.
ee62c8975f
...
0fc39f5a72
|
@ -28,7 +28,7 @@ class PositionModel extends Base
|
||||||
->when($onlyVisible, function($query){
|
->when($onlyVisible, function($query){
|
||||||
$query->where('visible', 1);
|
$query->where('visible', 1);
|
||||||
})
|
})
|
||||||
->order('sort', 'desc')
|
->order('sort', 'asc')
|
||||||
->limit($pre)
|
->limit($pre)
|
||||||
->select();
|
->select();
|
||||||
return $items->toArray();
|
return $items->toArray();
|
||||||
|
|
Loading…
Reference in New Issue