Skip to content

Instantly share code, notes, and snippets.

@orthagh
Created February 3, 2016 10:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save orthagh/6c9b813e72b6a175c81b to your computer and use it in GitHub Desktop.
Save orthagh/6c9b813e72b6a175c81b to your computer and use it in GitHub Desktop.
diff --git a/inc/ruleticket.class.php b/inc/ruleticket.class.php
index df9843f..6ecf235 100644
--- a/inc/ruleticket.class.php
+++ b/inc/ruleticket.class.php
@@ -434,6 +434,9 @@ class RuleTicket extends Rule {
$criterias['priority']['name'] = __('Priority');
$criterias['priority']['type'] = 'dropdown_priority';
+ $criterias['status']['name'] = __('Status');
+ $criterias['status']['type'] = 'dropdown_status';
+
$criterias['_mailgate']['table'] = 'glpi_mailcollectors';
$criterias['_mailgate']['field'] = 'name';
$criterias['_mailgate']['name'] = __('Mails receiver');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment