Commit 0265eaed by dhn

sku置顶排序

parent 7d450a17
......@@ -121,7 +121,9 @@ class SearchResultApplier implements SearchResultApplierInterface
$this->collection->getSelect()->order(new \Zend_Db_Expr("FIELD(e.entity_id,$orderList)"));
}
$this->collection->getSelect()->limit($this->size);
$str = $this->currentPage.'-----'.$this->size.PHP_EOL;
file_put_contents('./page.txt',$str,FILE_APPEND);
$this->collection->getSelect()->limitPage($this->currentPage,$this->size);
}
/**
* Slice current items
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment