]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/FeedBuilder.php
Empty tag search will look for not tagged links
[github/shaarli/Shaarli.git] / application / FeedBuilder.php
index a1f4da4810c0b25dceebb8d6698de93cf4eb81e9..7377bcec09c3fa21b92434953661133b386e0829 100644 (file)
@@ -97,6 +97,11 @@ class FeedBuilder
      */
     public function buildData()
     {
+        // Search for untagged links
+        if (isset($this->userInput['searchtags']) && empty($this->userInput['searchtags'])) {
+            $this->userInput['searchtags'] = false;
+        }
+
         // Optionally filter the results:
         $linksToDisplay = $this->linkDB->filterSearch($this->userInput);