diff options
| author | 2025-12-10 22:41:45 +0100 | |
|---|---|---|
| committer | 2025-12-10 22:41:45 +0100 | |
| commit | 394411677ea9b3e5bb520c39db6e39f751c35e28 (patch) | |
| tree | db95d211685ad295b147203390f57b1877dd45f6 /app/layout | |
| parent | e85d8053511b12de9296b6acd3e963b3a6e82242 (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/layout')
| -rw-r--r-- | app/layout/header.phtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/layout/header.phtml b/app/layout/header.phtml index 2fd6bb548..5c6ea63a4 100644 --- a/app/layout/header.phtml +++ b/app/layout/header.phtml @@ -40,7 +40,7 @@ <?php } ?> <div class="stick"> <input type="search" name="search" id="search" - value="<?= Minz_Request::paramString('search') ?>" + value="<?= FreshRSS_Context::$search->__toString() ?>" placeholder="<?= _t('gen.menu.search') ?>" /> <button class="btn" type="submit"><?= _i('search') ?></button> </div> |
