diff --git a/yuthon_issue/models/issue_library.py b/yuthon_issue/models/issue_library.py index 0f50552fe..0ea378b2a 100644 --- a/yuthon_issue/models/issue_library.py +++ b/yuthon_issue/models/issue_library.py @@ -213,15 +213,15 @@ class IssueLibrary(models.Model): continue if record.is_party: - if record.is_push_party and (record.is_party_passed == 'reject' or not record.is_party_passed): + if not record.is_push_party and (record.is_party_passed == 'reject' or not record.is_party_passed): record.push_invisible = True continue if record.is_class: - if record.is_push_class and (record.is_class_passed == 'reject' or not record.is_class_passed): + if not record.is_push_class and (record.is_class_passed == 'reject' or not record.is_class_passed): record.push_invisible = True continue if record.is_boss: - if record.is_push_boss and (record.is_boss_passed == 'reject' or not record.is_boss_passed): + if not record.is_push_boss and (record.is_boss_passed == 'reject' or not record.is_boss_passed): record.push_invisible = True continue