aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/indexController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-12-10 22:41:45 +0100
committerGravatar GitHub <noreply@github.com> 2025-12-10 22:41:45 +0100
commit394411677ea9b3e5bb520c39db6e39f751c35e28 (patch)
treedb95d211685ad295b147203390f57b1877dd45f6 /app/Controllers/indexController.php
parente85d8053511b12de9296b6acd3e963b3a6e82242 (diff)
Add functions to modify a search expression (#8293)
* Allows easier modifications of the search expression. * Add proper `__toString()` instead of just returning the raw input string. Allows in particular showing the result of the actual parsing of the raw input string in the UI. Needed for https://github.com/FreshRSS/FreshRSS/pull/8294
Diffstat (limited to 'app/Controllers/indexController.php')
-rw-r--r--app/Controllers/indexController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/indexController.php b/app/Controllers/indexController.php
index fa46c3f3a..d914e4eef 100644
--- a/app/Controllers/indexController.php
+++ b/app/Controllers/indexController.php
@@ -104,7 +104,7 @@ class FreshRSS_index_Controller extends FreshRSS_ActionController {
$this->view->rss_title = FreshRSS_Context::$name . ' | ' . FreshRSS_View::title();
$title = FreshRSS_Context::$name;
- $search = Minz_Request::paramString('search');
+ $search = FreshRSS_Context::$search->__toString();
if ($search !== '') {
$title = '“' . $search . '”';
}