From 081045176ad0e01f76d9893a4136c1b7644bb77e Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 15 Jun 2018 20:44:29 +0200 Subject: [PATCH] Add category id to canonical media list page url --- wcfsetup/install/files/lib/acp/page/MediaListPage.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wcfsetup/install/files/lib/acp/page/MediaListPage.class.php b/wcfsetup/install/files/lib/acp/page/MediaListPage.class.php index 23cbfac1c6..ac4aeaa647 100644 --- a/wcfsetup/install/files/lib/acp/page/MediaListPage.class.php +++ b/wcfsetup/install/files/lib/acp/page/MediaListPage.class.php @@ -142,6 +142,7 @@ class MediaListPage extends SortablePage { if ($this->sortOrder) $parameters['sortOrder'] = $this->sortOrder; if ($this->query) $parameters['q'] = $this->query; if ($this->username) $parameters['username'] = $this->username; + if ($this->categoryID) $parameters['categoryID'] = $this->categoryID; $this->canonicalURL = LinkHandler::getInstance()->getLink('MediaList', $parameters); } -- 2.20.1