after action, search value memory

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9802 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2011-11-07 05:29:36 +00:00
parent 82a1c530f8
commit f4f3639f48
2 changed files with 3 additions and 1 deletions

View file

@ -86,7 +86,7 @@
$this->setMessage($msgCode, 'info');
if(!in_array(Context::getRequestMethod(),array('XMLRPC','JSON'))) {
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispCommentAdminList');
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispCommentAdminList', 'search_keyword', $search_keyword, 'search_target', $search_target);
header('location:'.$returnUrl);
return;
}

View file

@ -76,6 +76,8 @@ xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
<input type="hidden" name="act" value="procCommentAdminDeleteChecked" />
<input type="hidden" name="page" value="{$page}" />
<input type="hidden" name="is_trash" value="false" />
<input type="hidden" name="search_target" value="{$search_target}" />
<input type="hidden" name="search_keyword" value="{$search_keyword}" />
<h2 class="h2">{$lang->comment_manager}</h2>
<div class="table even">
<table width="100%" border="1" cellspacing="0" id="commentManageListTable">