Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement filterBy on DS.ManyArray #3624

Merged
merged 1 commit into from
Aug 5, 2015
Merged

Conversation

bmac
Copy link
Member

@bmac bmac commented Aug 3, 2015

No description provided.

var [key] = filterByArgs;

var path = `recordArray.@each.${key}`;
Ember.defineProperty(this, 'content', Ember.computed(path, function() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find this init highly suspect but it was already in there so fine for now

@igorT
Copy link
Member

igorT commented Aug 5, 2015

👍 other than comments

bmac added a commit that referenced this pull request Aug 5, 2015
Implement filterBy on DS.ManyArray
@bmac bmac merged commit 7572fbe into emberjs:master Aug 5, 2015
@bmac bmac deleted the filter-by-many-array branch August 5, 2015 19:51
@dustinfarris
Copy link

Thanks for this.

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.

None yet

3 participants