aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/LinkDB.php
diff options
context:
space:
mode:
authorArthur <arthur@hoa.ro>2016-02-28 14:26:46 +0100
committerArthur <arthur@hoa.ro>2016-02-28 14:26:46 +0100
commitc6744a9e89b62ba94563c43ab33f964ec0b11a17 (patch)
tree30e6274a05636d06b10a5749d4786d5d95ccedf0 /application/LinkDB.php
parent10269bc8c9dfe87eb213c09a44308ce64ae0c12d (diff)
parentc51fae92dc7d3080def81a2797e0d683b3e6d82a (diff)
downloadShaarli-c6744a9e89b62ba94563c43ab33f964ec0b11a17.tar.gz
Shaarli-c6744a9e89b62ba94563c43ab33f964ec0b11a17.tar.zst
Shaarli-c6744a9e89b62ba94563c43ab33f964ec0b11a17.zip
Merge pull request #496 from ArthurHoaro/cross-search
Allow crossed search between terms and tags
Diffstat (limited to 'application/LinkDB.php')
-rw-r--r--application/LinkDB.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/application/LinkDB.php b/application/LinkDB.php
index 9488ac45..1b505620 100644
--- a/application/LinkDB.php
+++ b/application/LinkDB.php
@@ -353,8 +353,7 @@ You use the community supported version of the original Shaarli project, by Seba
353 public function filter($type = '', $request = '', $casesensitive = false, $privateonly = false) 353 public function filter($type = '', $request = '', $casesensitive = false, $privateonly = false)
354 { 354 {
355 $linkFilter = new LinkFilter($this->_links); 355 $linkFilter = new LinkFilter($this->_links);
356 $requestFilter = is_array($request) ? implode(' ', $request) : $request; 356 return $linkFilter->filter($type, $request, $casesensitive, $privateonly);
357 return $linkFilter->filter($type, trim($requestFilter), $casesensitive, $privateonly);
358 } 357 }
359 358
360 /** 359 /**