Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion channel_advisor_api/models/channel_advisor.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def get_first_image_url(cls, id: str) -> str | None:

@property
def children(self) -> List["MinProduct"]:
return self.all(filter=f"ParentProductID eq {self.id}")
return self.all(filter=f"ParentProductID eq {self.id} and IsParent ne true")

@property
def child_ids(self) -> List[int]:
Expand Down