Skip to content

Commit

Permalink
Merge pull request #10 from SpekBin/master
Browse files Browse the repository at this point in the history
MINOR: changing injected sort column to be an string instead of an array
  • Loading branch information
Taitava committed Sep 30, 2019
2 parents 3661e73 + c8d809f commit 01154a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CarouselExtension.php
Expand Up @@ -36,7 +36,7 @@ public function updateCMSFields(FieldList $fields)
{
//The SortableGridField module is installed - which is nice :)
//See: https://github.com/UndefinedOffset/SortableGridField
$gridfield_config->addComponent(Injector::inst()->create($sortable_rows_class,['Sort']));
$gridfield_config->addComponent(Injector::inst()->create($sortable_rows_class, 'Sort'));
}

$gridfield = new GridField('CarouselSlides', _t('Taitava\SlickCarousel\Carousel.CMSTabName', 'Carousel'), $this->owner->CarouselSlides(), $gridfield_config);
Expand Down Expand Up @@ -66,4 +66,4 @@ public function InitCarousel()
Carousel::Requirements();
}

}
}

0 comments on commit 01154a9

Please sign in to comment.