Skip to content

Commit

Permalink
Fix up filter
Browse files Browse the repository at this point in the history
  • Loading branch information
altwohill committed Apr 19, 2018
1 parent 8069f45 commit ab608a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Carousel.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ public function updateCMSFields(FieldList $fields)
*/
public function getSlideShow()
{
return $this->owner->Slides()->filter('')->sort('SortOrder');
return $this->owner->Slides()->sort('SortOrder');
}
}

0 comments on commit ab608a5

Please sign in to comment.