diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -625,11 +625,6 @@ function renderPage($conf, $pluginManager, $bookmarkService, $history, $sessionM | |||
625 | $visibility = ! empty($_SESSION['visibility']) ? $_SESSION['visibility'] : ''; | 625 | $visibility = ! empty($_SESSION['visibility']) ? $_SESSION['visibility'] : ''; |
626 | $filteringTags = isset($_GET['searchtags']) ? explode(' ', $_GET['searchtags']) : []; | 626 | $filteringTags = isset($_GET['searchtags']) ? explode(' ', $_GET['searchtags']) : []; |
627 | $tags = $bookmarkService->bookmarksCountPerTag($filteringTags, $visibility); | 627 | $tags = $bookmarkService->bookmarksCountPerTag($filteringTags, $visibility); |
628 | foreach ($filteringTags as $tag) { | ||
629 | if (array_key_exists($tag, $tags)) { | ||
630 | unset($tags[$tag]); | ||
631 | } | ||
632 | } | ||
633 | 628 | ||
634 | if (! empty($_GET['sort']) && $_GET['sort'] === 'alpha') { | 629 | if (! empty($_GET['sort']) && $_GET['sort'] === 'alpha') { |
635 | alphabetical_sort($tags, false, true); | 630 | alphabetical_sort($tags, false, true); |