diff --git a/src/db/models/organization.rs b/src/db/models/organization.rs index 912264a..c29a841 100644 --- a/src/db/models/organization.rs +++ b/src/db/models/organization.rs @@ -86,7 +86,7 @@ impl PartialOrd for UserOrgType { fn gt(&self, other: &i32) -> bool { match self.partial_cmp(other) { - Some(Ordering::Less) => false, + Some(Ordering::Less) | Some(Ordering::Equal) => false, _ => true, } }