genkgo / ember-localforage-adapter

Offline usage for Ember Data, based on localstorage adapter, but now uses Mozilla's localforage as data source
Other
133 stars 26 forks source link

[ELA <2.1] loadRelationships() should use the relation adapter instead of self #46

Closed sebweaver closed 9 years ago

sebweaver commented 9 years ago

On lines https://github.com/genkgo/ember-localforage-adapter/blob/v2.0.0/addon/adapters/localforage.js#L338-L342

The adapter specialized for the model of the current relationship should be use instead of this which represents the adapter of the current model.

I'm about to create a PR for this.

sebweaver commented 9 years ago

Pending fix: https://github.com/genkgo/ember-localforage-adapter/compare/v1.13.1...sebweaver:issue-46

frederikbosch commented 9 years ago

@sebweaver Merged, and tagged 1.13.2. Thanks!