aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/bookmark/BookmarkFileService.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-05-16 13:13:00 +0200
committerArthurHoaro <arthur@hoa.ro>2020-07-23 21:19:21 +0200
commitc79473bd84ab5aba7836d2caaf61847cabaf1e53 (patch)
treed4b730c015a91c1f390e4153c82cdf0395cf90af /application/bookmark/BookmarkFileService.php
parent72caf4e84c412ab6a4181b83a96dbef8ebb3c65a (diff)
downloadShaarli-c79473bd84ab5aba7836d2caaf61847cabaf1e53.tar.gz
Shaarli-c79473bd84ab5aba7836d2caaf61847cabaf1e53.tar.zst
Shaarli-c79473bd84ab5aba7836d2caaf61847cabaf1e53.zip
Handle tag filtering in the Bookmark service
Diffstat (limited to 'application/bookmark/BookmarkFileService.php')
-rw-r--r--application/bookmark/BookmarkFileService.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/application/bookmark/BookmarkFileService.php b/application/bookmark/BookmarkFileService.php
index fef998fd..3b3812af 100644
--- a/application/bookmark/BookmarkFileService.php
+++ b/application/bookmark/BookmarkFileService.php
@@ -296,6 +296,7 @@ class BookmarkFileService implements BookmarkServiceInterface
296 if (empty($tag) 296 if (empty($tag)
297 || (! $this->isLoggedIn && startsWith($tag, '.')) 297 || (! $this->isLoggedIn && startsWith($tag, '.'))
298 || $tag === BookmarkMarkdownFormatter::NO_MD_TAG 298 || $tag === BookmarkMarkdownFormatter::NO_MD_TAG
299 || in_array($tag, $filteringTags, true)
299 ) { 300 ) {
300 continue; 301 continue;
301 } 302 }