Created
July 12, 2010 02:22
-
-
Save rzhw/472051 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$statuses = array( | |
'open' => array( | |
'id' => 1, | |
'name' => 'Open', | |
'type' => 'open', | |
'filteronly' => false, | |
'sql' => 'issues.status = 0' | |
), | |
'unassigned' => array( | |
'id' => -1, | |
'name' => 'Unassigned', | |
'type' => 'open', | |
'sql' => 'issues.assign = 0' | |
), | |
'assigned' => array( | |
'id' => -1, | |
'name' => 'Assigned', | |
'type' => 'open', | |
'filteronly' => true, | |
'sql' => 'issues.assign != 0' | |
), | |
'resolved' => array( | |
'id' => 3, | |
'name' => 'Resolved', | |
'type' => 'resolved', | |
'sql' => 'issues.status = 3' | |
), | |
'postponed' => array( | |
'id' => 4, | |
'name' => 'Resolved', | |
'type' => 'resolved', | |
'sql' => 'issues.status = 4' | |
), | |
'duplicate' => array( | |
'id' => 5, | |
'name' => 'Duplicate', | |
'type' => 'duplicate', | |
'sql' => 'issues.status = 5' | |
), | |
'declined' => array( | |
'id' => 6, | |
'name' => 'Declined', | |
'type' => 'declined', | |
'sql' => 'issues.status = 6' | |
), | |
'all' => array( | |
'id' => -1, | |
'name' => 'All', | |
'type' => 'all', | |
'sql' => '1' // This seems to be okay, see http://stackoverflow.com/questions/1983655 | |
) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment