We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi all,
I know that there are already several tickets on this subject, but none of them answer concretely ...
I have a model "PermissionModule" that contains a hasMany to PermissionCategory.
In PermissionModule:
public function categories() { return $this->hasMany('App\Model\Permission\PermissionCategory', 'fk_permission_module_id', '_id') ->orderBy('code', 'asc'); }
This relation returns nothing because fk_permission_module_id is an ObjectID. If I remove ObjectID, the relationship works fine.
@jenssegers Is it possible to have a maj as soon as possible or a solution to use this relationship appropriately.
Thx all for help,
Marc
The text was updated successfully, but these errors were encountered:
Hey, bro. @Marcuss57 Did you solved this problem? I also face the same thing.
Sorry, something went wrong.
No branches or pull requests
Hi all,
I know that there are already several tickets on this subject, but none of them answer concretely ...
I have a model "PermissionModule" that contains a hasMany to PermissionCategory.
In PermissionModule:
This relation returns nothing because fk_permission_module_id is an ObjectID. If I remove ObjectID, the relationship works fine.
@jenssegers Is it possible to have a maj as soon as possible or a solution to use this relationship appropriately.
Thx all for help,
Marc
The text was updated successfully, but these errors were encountered: