File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Downloadable/Block/Customer/Products Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ protected function _prepareLayout()
99
99
'downloadable.customer.products.pager '
100
100
)->setCollection (
101
101
$ this ->getItems ()
102
- );
102
+ )-> setPath ( ' downloadable/customer/products ' ) ;
103
103
$ this ->setChild ('pager ' , $ pager );
104
104
$ this ->getItems ()->load ();
105
105
foreach ($ this ->getItems () as $ item ) {
Original file line number Diff line number Diff line change @@ -446,7 +446,15 @@ public function getPagerUrl($params = [])
446
446
$ urlParams ['_fragment ' ] = $ this ->getFragment ();
447
447
$ urlParams ['_query ' ] = $ params ;
448
448
449
- return $ this ->getUrl ('*/*/* ' , $ urlParams );
449
+ return $ this ->getUrl ($ this ->getPath (), $ urlParams );
450
+ }
451
+
452
+ /**
453
+ * @return string
454
+ */
455
+ protected function getPath ()
456
+ {
457
+ return $ this ->_getData ('path ' ) ?: '*/*/* ' ;
450
458
}
451
459
452
460
/**
You can’t perform that action at this time.
0 commit comments