Skip to content

Conversation

@ryanmitchell
Copy link
Contributor

Once statamic/cms#6983 is merged and released this will need added to eloquent.

Before merge we should also update the minimum Statamic core version in composer.json

@what-the-diff
Copy link

what-the-diff bot commented Nov 2, 2022

  • composer.json:
    • Updated statamic/cms from 3.3.31 to 3.3.51
  • src/Collections/Collection::fromModel():
    • Added originBehavior() method call with default value of 'select' if not set in settings array (line 28)
      3-4 src/Collections/Collection::makeModelFromContract():
    • Added origin_behavior key and corresponding value to the $source->settings array (lines 73-74)

@jasonvarga jasonvarga changed the title Add defaultLocalizationOrigin to collection saving Add originBehavior to collection Nov 2, 2022
@jasonvarga
Copy link
Member

I've updated the code and composer requirement. Once I tag cms I'll re-run the tests here and it should pass.

@ryanmitchell
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants