-
Notifications
You must be signed in to change notification settings - Fork 27.5k
ngClassOdd/Even doesn't work when reversing orderBy filter #1563
Comments
Just want to note for others that this is related to #1519 Something is clearly broken with these directives. |
…ven is not updated. Issue angular#1563 fix. Put back in place the original fix issue angular#1076
@rgaskill It was fixed in the latest version of AngularJS (1.0.3 / 1.1.1) through this PR: Working plunk here: http://plnkr.co/edit/R1Zpzt?p=preview |
BTW: nice way of exposing a bug by attaching test! |
Thanks Shouldn't the test get pulled into the project? |
@rgaskill I think that @IgorMinar added tests for this but if you find anything not covered with tests please open a separate PR with tests only. Thnx once again for the bug report and the PR, it helped to see the real problem and brainstorm different solutions. |
@pkozlowski-opensource I have created PR: #1613. It appears to me the problem was fixed once before #1076 but then it broke again. The tests originally added with #1076 didn't catch the break because the sort test didn't use the orderBy filter. This new test does. Thank you for all the work is being done to keep this project moving forward! |
Isn't this fixed in master? |
@IgorMinar It is fixed in master and works OK. It is just that @rgaskill opened #1613 with an additional test. I was pinging you to see if this test is needed or maybe the functionality is already covered by other tests. |
When reversing the order of the orderByFilter the ngClassOdd and ngClassEven don't update. The unit test thet demonstrates the issue is here:
http://plnkr.co/edit/kXJcDC
The text was updated successfully, but these errors were encountered: