File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ Product configuration
6464Changelog
6565---------
6666
67- v4.2.1 (21 Apr 2025)
67+ v4.2.2 (21 Apr 2025)
6868~~~~~~~~~~~~~~~~~~~~
6969
7070- Bug fix: update exclude filter for Tenant Subscriptions page to account for
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ def get_install_requires(path):
2626
2727setup (
2828 name = "kiwitcms-github-marketplace" ,
29- version = "4.2.1 " ,
29+ version = "4.2.2 " ,
3030 description = "GitHub Marketplace integration for Kiwi TCMS" ,
3131 long_description = get_long_description (),
3232 author = "Kiwi TCMS" ,
Original file line number Diff line number Diff line change @@ -773,7 +773,11 @@ def get_object(self, queryset=None):
773773 which has the subscription field set! Note that some events,
774774 e.g. order.canceled may have this field set to None
775775 """
776- return self .get_queryset ().exclude (subscription__contains = "None" ).first ()
776+ return (
777+ self .get_queryset ()
778+ .exclude (Q (subscription = None ) | Q (subscription__contains = "None" ))
779+ .first ()
780+ )
777781
778782 def get_context_data (self , ** kwargs ):
779783 context = super ().get_context_data (** kwargs )
You can’t perform that action at this time.
0 commit comments