Samuell1 / revisions-plugin

Revisions allows to extend any model with Revisionable trait with more features and easy to use.
https://octobercms.com/plugin/samuell-revisions
MIT License
9 stars 7 forks source link

Check if field name exists #2

Closed rubenvanerk closed 5 years ago

rubenvanerk commented 5 years ago

I'm using revisionable on a relation field. The getFieldName function doesn't breaks in this case because it looks for the fieldName with _id added.