mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
#40 insert list_order value when create new group
This commit is contained in:
parent
382093798e
commit
f0bfbb5179
2 changed files with 6 additions and 1 deletions
|
|
@ -1109,6 +1109,11 @@ class memberAdminController extends member
|
|||
if(!$output->toBool()) return $output;
|
||||
}
|
||||
|
||||
if(!isset($args->list_order) || $args->list_order=='')
|
||||
{
|
||||
$args->list_order = $args->group_srl;
|
||||
}
|
||||
|
||||
if(!$args->group_srl) $args->group_srl = getNextSequence();
|
||||
$output = executeQuery('member.insertGroup', $args);
|
||||
$this->_deleteMemberGroupCache($args->site_srl);
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<columns>
|
||||
<column name="site_srl" var="site_srl" default="0" notnull="notnull" />
|
||||
<column name="group_srl" var="group_srl" notnull="notnull" />
|
||||
<column name="list_order" var="group_srl" notnull="notnull" />
|
||||
<column name="list_order" var="list_order" notnull="notnull" />
|
||||
<column name="title" var="title" notnull="notnull" />
|
||||
<column name="is_default" var="is_default" default="N" notnull="notnull" />
|
||||
<column name="is_admin" var="is_admin" default="N" notnull="notnull" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue