Commit 46c712838ccfbc85cb78fb29ef840f5ee3cc9bac
1 parent
0372877e
Redirect to adding users to the group when creating a group
Inspired by: Valeria Costa <v.costa@pisa.iol.it> git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3626 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
2 deletions
presentation/lookAndFeel/knowledgeTree/administration/groupmanagement/addGroupBL.php
| ... | ... | @@ -53,8 +53,8 @@ if (checkSession()) { |
| 53 | 53 | $default->log->info("set group (id=" . $oGroup->getID() . ") to unit id=$fUnitID"); |
| 54 | 54 | $oGroupUnit = new GroupUnitLink($oGroup->getID(), $fUnitID); |
| 55 | 55 | if ($oGroupUnit->create()) { |
| 56 | - // redirect to list page | |
| 57 | - controllerRedirect("listGroups"); | |
| 56 | + // redirect to group users page | |
| 57 | + controllerRedirect("editGroupUsers", "fGroupID=" . $oGroup->getID()); | |
| 58 | 58 | } else { |
| 59 | 59 | $oPatternCustom->setHtml(statusPage(_("Add A New Group"), _("Addition Unsuccessful") . "!", _("There was an error associating the new group with the specified unit."), "addGroup")); |
| 60 | 60 | } | ... | ... |