diff options
author | Arthur <arthur@hoa.ro> | 2016-02-15 21:12:39 +0100 |
---|---|---|
committer | Arthur <arthur@hoa.ro> | 2016-02-15 21:12:39 +0100 |
commit | 1e7331126d81a5759ab91c221f7e0f164aeebfb5 (patch) | |
tree | a5d084066e1e49fae01ae72f102b3eab2fb6d8ac /application/LinkDB.php | |
parent | 6e607ca613b47e17f7516e94adfee930d4f3e1e8 (diff) | |
parent | ce354bf1a61ce2478529ad558b24cdf9678c398a (diff) | |
download | Shaarli-1e7331126d81a5759ab91c221f7e0f164aeebfb5.tar.gz Shaarli-1e7331126d81a5759ab91c221f7e0f164aeebfb5.tar.zst Shaarli-1e7331126d81a5759ab91c221f7e0f164aeebfb5.zip |
Merge pull request #446 from ArthurHoaro/search-tag-exclude
Add exclusion in tag search
Diffstat (limited to 'application/LinkDB.php')
-rw-r--r-- | application/LinkDB.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/LinkDB.php b/application/LinkDB.php index a95b3f36..416aa0d3 100644 --- a/application/LinkDB.php +++ b/application/LinkDB.php | |||
@@ -340,7 +340,7 @@ You use the community supported version of the original Shaarli project, by Seba | |||
340 | * | 340 | * |
341 | * @return array filtered links | 341 | * @return array filtered links |
342 | */ | 342 | */ |
343 | public function filter($type, $request, $casesensitive = false, $privateonly = false) | 343 | public function filter($type = '', $request = '', $casesensitive = false, $privateonly = false) |
344 | { | 344 | { |
345 | $linkFilter = new LinkFilter($this->_links); | 345 | $linkFilter = new LinkFilter($this->_links); |
346 | $requestFilter = is_array($request) ? implode(' ', $request) : $request; | 346 | $requestFilter = is_array($request) ? implode(' ', $request) : $request; |