Skip to content

Commit

Permalink
Merge pull request #35 from searchspring/client/tilebar
Browse files Browse the repository at this point in the history
Add sort based on entity ID
  • Loading branch information
James Bathgate authored Nov 12, 2020
2 parents f50cb30 + 5c2cfed commit 1b7c117
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Helper/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ protected function getProductCollection() {
->addAttributeToFilter(
'status', array('eq' => \Magento\Catalog\Model\Product\Attribute\Source\Status::STATUS_ENABLED)
)
->setOrder('entity_id','ASC')
->setPageSize($this->count)
->setCurPage($this->page);

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "searchspring/module-feed",
"description": "Module to generate a SearchSpring CSV Feed",
"type": "magento2-module",
"version": "1.0.1",
"version": "1.1.0",
"license": "GPL-3.0",
"authors": [
{
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" ?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="SearchSpring_Feed" setup_version="1.0.1"/>
<module name="SearchSpring_Feed" setup_version="1.1.0"/>
</config>

0 comments on commit 1b7c117

Please sign in to comment.