Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relation AttributeSet to AttributeGroup not working #2

Closed
RadoslavAngelov opened this issue Mar 22, 2018 · 2 comments
Closed

Relation AttributeSet to AttributeGroup not working #2

RadoslavAngelov opened this issue Mar 22, 2018 · 2 comments
Assignees
Labels

Comments

@RadoslavAngelov
Copy link

RadoslavAngelov commented Mar 22, 2018

Hello, I think in the relation, the primary key of AttributeSet should be added as parameter, because now the relation is not working

public function attributeGroup() { return $this->hasMany(AttributeGroup::class, 'attribute_set_id'); }

@sunel
Copy link
Owner

sunel commented Mar 23, 2018

Good catch 👍

@sunel sunel added the bug label Mar 23, 2018
@sunel sunel self-assigned this Mar 23, 2018
sunel added a commit that referenced this issue Mar 23, 2018
@sunel
Copy link
Owner

sunel commented Mar 23, 2018

Fixed 4fa7bff

@sunel sunel closed this as completed Mar 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants