quick-ng-repeat icon indicating copy to clipboard operation
quick-ng-repeat copied to clipboard

orderBy doesn't seems to work

Open dv336699 opened this issue 11 years ago • 10 comments

Line of interest:

quick-ng-repeat="item in listofitems | orderBy:'something" quick-repeat-list="items"

Error message

Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: [["listofitems | orderBy:'number'; newVal:

ng-repeat work just fine. Thanks

dv336699 avatar Dec 16 '13 00:12 dv336699

@diego-vieira I don't support you have come across the solution to this problem? Getting the same error here. What's odd is it still seems to work. Just errors out a lot and makes it super slow.

http://plnkr.co/edit/t4re0TshUlzKHluRLUOw?p=preview

wedgybo avatar Dec 18 '13 22:12 wedgybo

@wedgybo because I had to move on the next steps, I used ng-repeat instead till I hear from the dev. thanks

dv336699 avatar Dec 18 '13 22:12 dv336699

No problem, I'll have a look into it the noo. Cheers for the fast reply!

wedgybo avatar Dec 18 '13 22:12 wedgybo

@diego-vieira @wedgybo I'm here, but as for now I don't have much time to dive deep inside the problem. @wedgybo your Plunkr doesn't work for me, so maybe you can create a new one - I'll make some debug directly inside my browser.

allaud avatar Dec 19 '13 06:12 allaud

Hi @allaud, thanks for having a look. Can you paste any errors you had with the plunker code please? This is my output.

https://www.dropbox.com/s/ibnpj2yw103vd4o/Screenshot%202013-12-19%2008.41.59.png

wedgybo avatar Dec 19 '13 08:12 wedgybo

@wedgybo I have the following error: http://cropme.ru/e2d82c7191848a7dd4f51a19756bf809

allaud avatar Dec 19 '13 09:12 allaud

@allaud Thanks. Can you try again, I must have had the wrong version set or something as there's a bunch of stuff missing from the markup there.

http://plnkr.co/edit/t4re0TshUlzKHluRLUOw?p=preview

wedgybo avatar Dec 19 '13 09:12 wedgybo

@wedgybo just tested your latest plunker on IE to be on the safe side. http://i.imgur.com/gIj1Rv8.png Same issue.

@allaud I'll try to follow the trail and find out why. Maybe I can find something.

dv336699 avatar Dec 19 '13 10:12 dv336699

Cool. I had a look last night but my understanding of the internals of angular and ng-repeat are still lacking so I'll need to get up to speed with how all that works before I can help out.

wedgybo avatar Dec 19 '13 10:12 wedgybo

http://docs.angularjs.org/error/$rootScope:infdig?p0=10

dv336699 avatar Dec 19 '13 10:12 dv336699