|
14 | 14 | * date_to: Value for the end date of the date range filter (default: current date) |
15 | 15 | * list_uuid: UUID of the list configuration that should be shown. |
16 | 16 | * If id is null then the default list of the role will be shown. |
17 | | - * rol_ids: Id of the role or an integer array of all role ids whose members should be shown |
| 17 | + * rol_ids: ID of the role or an integer array of all role ids whose members should be shown |
| 18 | + * urt_ids: ID of the relation type or an integer array of all relation types ids whose members should be shown |
18 | 19 | * show_former_members: 0 - (Default) show members of role that are active within the selected date range |
19 | 20 | * 1 - show only former members of the role |
20 | 21 | *********************************************************************************************** |
|
404 | 405 | $form->addInput('date_to', $gL10n->get('SYS_ROLE_MEMBERSHIP_TO'), $dateTo, array('type' => 'date', 'maxLength' => 10)); |
405 | 406 | $form->addInput('list_uuid', '', $getListUuid, array('property' => HtmlForm::FIELD_HIDDEN)); |
406 | 407 | $form->addInput('rol_ids', '', $getRoleIds, array('property' => HtmlForm::FIELD_HIDDEN)); |
| 408 | + $form->addInput('urt_ids', '', $getRelationTypeIds, array('property' => HtmlForm::FIELD_HIDDEN)); |
407 | 409 | $form->addCheckbox('show_former_members', $gL10n->get('SYS_SHOW_FORMER_MEMBERS_ONLY'), $getShowFormerMembers); |
408 | 410 | $form->addSubmitButton('btn_send', $gL10n->get('SYS_OK')); |
409 | 411 | } |
|
421 | 423 | if ($(this).val() === "mylist") { |
422 | 424 | self.location.href = "' . SecurityUtils::encodeUrl(ADMIDIO_URL . FOLDER_MODULES . '/groups-roles/mylist.php', array('rol_ids' => $getRoleIds)) . '"; |
423 | 425 | } else { |
424 | | - self.location.href = "' . SecurityUtils::encodeUrl(ADMIDIO_URL . FOLDER_MODULES . '/groups-roles/lists_show.php', array('mode' => 'html', 'rol_ids' => $getRoleIds, 'show_former_members' => $getShowFormerMembers, 'date_from' => $getDateFrom, 'date_to' => $getDateTo)) . '&list_uuid=" + $(this).val(); |
| 426 | + self.location.href = "' . SecurityUtils::encodeUrl(ADMIDIO_URL . FOLDER_MODULES . '/groups-roles/lists_show.php', array('mode' => 'html', 'rol_ids' => $getRoleIds, 'urt_ids' => $getRelationTypeIds, 'show_former_members' => $getShowFormerMembers, 'date_from' => $getDateFrom, 'date_to' => $getDateTo)) . '&list_uuid=" + $(this).val(); |
425 | 427 | } |
426 | 428 | }); |
427 | 429 |
|
|
0 commit comments