Skip to content

Commit

Permalink
Update requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
altwohill committed Apr 19, 2018
1 parent 4f2e007 commit 8069f45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
"require": {
"sheadawson/silverstripe-linkable": "dev-master",
"symbiote/silverstripe-gridfieldextensions": "^3.1",
"silverstripe/asset-admin": "1.x-dev"
"silverstripe/asset-admin": "^1.1"
}
}
4 changes: 1 addition & 3 deletions src/Carousel.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ public function updateCMSFields(FieldList $fields)
*/
public function getSlideShow()
{
$owner = $this->owner;

return $this->owner->Slides()->sort('SortOrder');
return $this->owner->Slides()->filter('')->sort('SortOrder');
}
}

0 comments on commit 8069f45

Please sign in to comment.