Skip to content
Snippets Groups Projects
Commit a10f036c authored by Peter Rotich's avatar Peter Rotich
Browse files

Extend department membership to groups by default

The setting is useful in making sure the staff members with access to the
department can get alerts and available as possible assignees.
parent b13b5c19
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,7 @@
signature: |
Support Department
ispublic: 1
group_membership: 1
- id: 2
name: Sales
......@@ -24,9 +25,11 @@
Sales and Customer Retention
ispublic: 1
sla_id: 1
group_membership: 1
- id: 3
name: Maintenance
signature: |
Maintenance Department
ispublic: 0
group_membership: 0
......@@ -19,6 +19,9 @@ if($dept && $_REQUEST['a']!='add') {
$info['ispublic']=isset($info['ispublic'])?$info['ispublic']:1;
$info['ticket_auto_response']=isset($info['ticket_auto_response'])?$info['ticket_auto_response']:1;
$info['message_auto_response']=isset($info['message_auto_response'])?$info['message_auto_response']:1;
if (!isset($info['group_membership']))
$info['group_membership'] = 1;
$qstr.='&a='.$_REQUEST['a'];
}
$info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment