Fix Filter Value Display

This commit is contained in:
seiichiro 2022-01-11 20:16:19 +01:00
parent 9f8ebaa20c
commit 9736e8d51c
2 changed files with 2 additions and 1 deletions

View file

@ -95,6 +95,7 @@ if (!empty($curfiles)| !empty($dirs)) {
$data['dir'] = $dir;
$data['slice'] = $slice;
$data['filter'] = $filter;
$data['pretty_filter'] = substr($filter,3);
$data['page'] = $page;
$data['prev_page'] = $page - 1;
if ($data['prev_page'] < 1)

View file

@ -15,7 +15,7 @@
</div>
<div class="search">
<form action="index.php" method="get">
<input type="text" placeholder="Suche.." value="{{ $filter }}" name="f" />
<input type="text" placeholder="Suche.." value="{{ $pretty_filter }}" name="f" />
<button type="submit"><i class="fa fa-search"></i></button>
<input type="hidden" name="d" value="{{ $dir }}">
<input type="hidden" name="s" value="{{ $slice }}">