statamic / eloquent-driver

Provides support for storing your Statamic data in a database, rather than flat files.
https://statamic.dev/tips/storing-content-in-a-database
MIT License
104 stars 73 forks source link

Collection import command throws error #161

Closed jasonvarga closed 1 year ago

jasonvarga commented 1 year ago

When running please eloquent:import-collections, you get the following error:

Call to undefined method Statamic\Entries\Collection::customSortDirection()

This is because of #138. I hadn't thought of the situation where you'd call these methods on the Stache implementation within this command.

I'll probably fix this by adding those methods in the core.