Fix Filter Value Display
This commit is contained in:
parent
9f8ebaa20c
commit
9736e8d51c
2 changed files with 2 additions and 1 deletions
|
@ -95,6 +95,7 @@ if (!empty($curfiles)| !empty($dirs)) {
|
||||||
$data['dir'] = $dir;
|
$data['dir'] = $dir;
|
||||||
$data['slice'] = $slice;
|
$data['slice'] = $slice;
|
||||||
$data['filter'] = $filter;
|
$data['filter'] = $filter;
|
||||||
|
$data['pretty_filter'] = substr($filter,3);
|
||||||
$data['page'] = $page;
|
$data['page'] = $page;
|
||||||
$data['prev_page'] = $page - 1;
|
$data['prev_page'] = $page - 1;
|
||||||
if ($data['prev_page'] < 1)
|
if ($data['prev_page'] < 1)
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="search">
|
<div class="search">
|
||||||
<form action="index.php" method="get">
|
<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>
|
<button type="submit"><i class="fa fa-search"></i></button>
|
||||||
<input type="hidden" name="d" value="{{ $dir }}">
|
<input type="hidden" name="d" value="{{ $dir }}">
|
||||||
<input type="hidden" name="s" value="{{ $slice }}">
|
<input type="hidden" name="s" value="{{ $slice }}">
|
||||||
|
|
Loading…
Reference in a new issue