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

Sort and search of albums in artist details page does not work #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pdrosos
Copy link

@pdrosos pdrosos commented Sep 28, 2014

Sort and search of albums in artist details page does not work. It seems to be a scope issue, because ng-if creates its own child scope. More details here:

https://github.com/angular/angular.js/wiki/Understanding-Scopes

angular/angular.js#4046
angular/angular.js#7216

Here is a simple fix of this issue, using objects in the sort and search ng-model, instead of scalar values.

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.

1 participant