mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Add option to search for exact name matches only (fixes FS#23556).
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
8cd2aef50d
commit
1c55e6b40c
2 changed files with 7 additions and 2 deletions
|
@ -38,7 +38,7 @@
|
|||
<label><?php print __("Search by"); ?></label>
|
||||
<select name='SeB'>
|
||||
<?php
|
||||
$searchby = array('nd' => __('Name, Description'), 'n' => __('Name Only'), 'm' => __('Maintainer'), 's' => __('Submitter'));
|
||||
$searchby = array('nd' => __('Name, Description'), 'n' => __('Name Only'), 'x' => ('Exact name'), 'm' => __('Maintainer'), 's' => __('Submitter'));
|
||||
foreach ($searchby as $k => $v):
|
||||
if (isset($_REQUEST['SeB']) && $_REQUEST['SeB'] == $k):
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue