From 394411677ea9b3e5bb520c39db6e39f751c35e28 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 10 Dec 2025 22:41:45 +0100 Subject: 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 --- app/Controllers/indexController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controllers/indexController.php') 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 . '”'; } -- cgit v1.2.3