Update search facility.
This commit is contained in:
parent
6f2b84b0b9
commit
958e890538
2 changed files with 4 additions and 1 deletions
|
@ -85,6 +85,9 @@ else
|
|||
[[ "${ITEM/$STORAGE_PREFIX}" =~ $REGEX ]] && continue 2
|
||||
done <<<"${IGNORE_REGEXES[@]}"
|
||||
|
||||
# Don't list the path searched for.
|
||||
[[ "${ITEM/$STORAGE_PREFIX}" == "$QS_p" ]] && continue
|
||||
|
||||
# List the item.
|
||||
printf "%s\\n" "${ITEM/$STORAGE_PREFIX}"
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
<tr>
|
||||
<td class="search" align="right" valign="center">
|
||||
<form action="/search">
|
||||
<input type="hidden" name="p" value="$X_p">
|
||||
<input type="hidden" name="p" value="<?php print ($_GET["p"]) ?>">
|
||||
<input class="searchinput" title="Search" alt="Search Box" type="text" name="q" value="<?php print ($_GET["q"]) ?>" autocomplete="on" required>
|
||||
</form>
|
||||
</td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue