Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort type not working #120

Open
vinoth-expedux opened this issue Mar 27, 2019 · 0 comments
Open

Sort type not working #120

vinoth-expedux opened this issue Mar 27, 2019 · 0 comments

Comments

@vinoth-expedux
Copy link

vinoth-expedux commented Mar 27, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant