aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Search.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Models/Search.php')
-rw-r--r--app/Models/Search.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/Models/Search.php b/app/Models/Search.php
index 85340ff13..84688be2e 100644
--- a/app/Models/Search.php
+++ b/app/Models/Search.php
@@ -36,6 +36,10 @@ class FreshRSS_Search {
$input = $this->parseTagsSeach($input);
$this->search = $this->cleanSearch($input);
}
+
+ public function __toString() {
+ return $this->getRawInput();
+ }
public function getRawInput() {
return $this->raw_input;