We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc69810 commit 1570db2Copy full SHA for 1570db2
app/code/Magento/Wishlist/Model/ResourceModel/Item/Collection/Grid.php
@@ -188,4 +188,17 @@ private function addQtyFilter(string $field, array $condition)
188
{
189
return parent::addFieldToFilter('main_table.' . $field, $condition);
190
}
191
+
192
+ /**
193
+ * @inheritdoc
194
+ */
195
+ public function getSize()
196
+ {
197
+ $this->load();
198
+ if ($this->_totalRecords === null) {
199
+ $this->_totalRecords = count($this->getItems());
200
+ }
201
202
+ return (int)$this->_totalRecords;
203
204
0 commit comments