Keep prev query

This commit is contained in:
bgigon 2004-07-06 09:16:28 +00:00
parent 1353159e61
commit 4681236b1d
2 changed files with 2 additions and 1 deletions

View File

@ -391,6 +391,7 @@
// -------------------------- end nextmatch ------------------------------------
$GLOBALS['phpgw']->template->set_var('search_action',$GLOBALS['phpgw']->link('/index.php',$link_data));
$GLOBALS['phpgw']->template->set_var('prev_query', $query);
$GLOBALS['phpgw']->template->set_var('search_list',$this->nextmatchs->search(array('query' => $query, 'search_obj' => 1)));
foreach($users as $user)

View File

@ -78,7 +78,7 @@
<td align="right" colspan="5">
<form method="POST" action="{search_action}">
{query_type}
<input type="text" name="query">
<input type="text" name="query" value="{prev_query}">
<input type="submit" name="search" value="{lang_search}">
</form>
</td>