|
@@ -158,7 +158,7 @@ class Database
|
|
|
private function getUrlParam($key, $table, $suffix, $state)
|
|
|
{
|
|
|
$param = '';
|
|
|
- $array = array('project', 'add', 'list', 'update', 'edit');
|
|
|
+ $array = array('project', 'search', 'add', 'list', 'update', 'edit');
|
|
|
if (in_array($key, $array) && !strstr($table, 'oper_')) {
|
|
|
$where = Dever::preInput('search_');
|
|
|
if ($where) {
|
|
@@ -398,7 +398,7 @@ class Database
|
|
|
|
|
|
private function getState()
|
|
|
{
|
|
|
- return Dever::input('search_option_state');
|
|
|
+ return Dever::input('search_option_state', 1);
|
|
|
}
|
|
|
|
|
|
/**
|