mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
if search keyword is empty, show all list
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12410 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
de2e386980
commit
bbb5ba847f
2 changed files with 7 additions and 1 deletions
|
|
@ -126,6 +126,12 @@ class pointModel extends point
|
|||
$search_target = trim(Context::get('search_target'));
|
||||
$search_keyword = trim(Context::get('search_keyword'));
|
||||
|
||||
// if search keyword is emtpy, show all list
|
||||
if(!$search_keyword)
|
||||
{
|
||||
unset($args, $search_target);
|
||||
}
|
||||
|
||||
if($search_target && $search_keyword)
|
||||
{
|
||||
switch($search_target)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue