candy-api icon indicating copy to clipboard operation
candy-api copied to clipboard

Reference NodeTrait method for setting parent ID of Category

Open Repox opened this issue 4 years ago • 1 comments

This minor fix addressed issue #332

Description

Instead of using the mutators scope for setting the parent ID of a child category, which failed, this utilizes the trait method provided by the nestedset package.

Checks

  • [X] Works with a fresh install
  • [ ] Documentation updated
    • [ ] Changelog
    • [ ] Upgrade guide
    • [ ] Do these changes impact the hub and require a new version

Repox avatar Dec 14 '20 07:12 Repox

The tests will pass with #335 merged.

Repox avatar Dec 14 '20 08:12 Repox