Open vinoth-expedux opened 5 years ago
when choose slider sort type is random not working.
/Magestore/Bannerslider/Model/ResourceModel/Banner/Collection.php
if ($this->_slider->getSortType() == \Magestore\Bannerslider\Model\Slider::SORT_TYPE_RANDOM) { $bannerCollection->setOrderRandByBannerId(); }
print_r(($this->_slider->getSortType()); //print empty.
when choose slider sort type is random not working.
/Magestore/Bannerslider/Model/ResourceModel/Banner/Collection.php
if ($this->_slider->getSortType() == \Magestore\Bannerslider\Model\Slider::SORT_TYPE_RANDOM) { $bannerCollection->setOrderRandByBannerId(); }
print_r(($this->_slider->getSortType()); //print empty.