aboutsummaryrefslogtreecommitdiffstats
path: root/bugzillaBugTriage.js
diff options
context:
space:
mode:
Diffstat (limited to 'bugzillaBugTriage.js')
-rw-r--r--bugzillaBugTriage.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/bugzillaBugTriage.js b/bugzillaBugTriage.js
index 79b7d81..6c7ae96 100644
--- a/bugzillaBugTriage.js
+++ b/bugzillaBugTriage.js
@@ -743,11 +743,12 @@ BzPage.prototype.isRHEL = function() {
BzPage.prototype.isTriaged = function() {
- if (this.version > 11) {
- return this.hasKeyword("Triaged");
- } else {
+ // First excceptions
+ if (this.version > 7 && this.version < 12) {
return this.dok.getElementById("bug_status").
value.toUpperCase() !== "NEW";
+ } else { // and then the rule
+ return this.hasKeyword("Triaged");
}
};