File tree Expand file tree Collapse file tree
wcfsetup/install/files/lib/page Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99use wcf \system \listView \user \CategoryArticleListView ;
1010use wcf \system \MetaTagHandler ;
1111use wcf \system \page \PageLocationManager ;
12+ use wcf \system \request \LinkHandler ;
1213use wcf \system \WCF ;
1314use wcf \util \StringUtil ;
1415
@@ -52,6 +53,16 @@ protected function createListView(): ArticleListView
5253 return new CategoryArticleListView ($ this ->category ->categoryID );
5354 }
5455
56+ #[\Override]
57+ protected function initListView (): void
58+ {
59+ parent ::initListView ();
60+
61+ $ this ->listView ->setBaseUrl (LinkHandler::getInstance ()->getControllerLink (static ::class, [
62+ 'object ' => $ this ->category ,
63+ ]));
64+ }
65+
5566 #[\Override]
5667 public function checkPermissions ()
5768 {
Original file line number Diff line number Diff line change @@ -129,6 +129,17 @@ protected function createListView(): AbstractListView
129129 return $ this ->provider ->getListView ($ this ->tagIDs );
130130 }
131131
132+ #[\Override]
133+ protected function initListView (): void
134+ {
135+ parent ::initListView ();
136+
137+ $ this ->listView ->setBaseUrl (LinkHandler::getInstance ()->getControllerLink (static ::class, [
138+ 'objectType ' => $ this ->objectType ->objectType ,
139+ 'tagIDs ' => $ this ->tagIDs ,
140+ ]));
141+ }
142+
132143 #[\Override]
133144 public function readData ()
134145 {
You can’t perform that action at this time.
0 commit comments