File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
app/code/Magento/Wishlist/Block/Customer Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,6 @@ public function getWishlistItems()
108
108
$ this ->_prepareCollection ($ this ->_collection );
109
109
$ this ->paginateCollection ();
110
110
}
111
-
112
111
return $ this ->_collection ;
113
112
}
114
113
@@ -119,7 +118,6 @@ public function getWishlistItems()
119
118
*/
120
119
protected function _prepareLayout ()
121
120
{
122
- $ this ->getWishlistItems ();
123
121
parent ::_prepareLayout ();
124
122
$ this ->pageConfig ->getTitle ()->set (__ ('My Wish List ' ));
125
123
$ this ->getChildBlock ('wishlist_item_pager ' )
@@ -140,8 +138,7 @@ protected function _prepareLayout()
140
138
)->setLimit (
141
139
$ this ->getLimit ()
142
140
)
143
- ->setCollection ($ this ->_collection );
144
- $ this ->_collection ->load ();
141
+ ->setCollection ($ this ->getWishlistItems ());
145
142
return $ this ;
146
143
}
147
144
You can’t perform that action at this time.
0 commit comments