-
Notifications
You must be signed in to change notification settings - Fork 27.4k
ng-repeat filter behavior #10428
Comments
This is a regression, Fix is already in the works. Would get the issue # but on mobile |
So yeah, I think this is a mix of two problems, tbh. @gkalpak, using a build of angular with a mix of your fix and @caseyhoward's fix, the second case is still broken. I think we should use this as a test case and fix it up in one of your two PRs |
@caitp: Making this works mean matching item
IMO, opinion, it makes absolutely no sense to have an object expression match against primitive types. WDYT ? |
I think if people depended on it, we should fix it |
@caitp: Been wondering: Unavoidably, people have been depending on the broken behaviour of Regarding this particular case: If |
I think the top-level |
So, you say we should have a top-level |
I don't think we need to break deep object filtering, we just need to unbreak peoples applications. please stop misreading this as an attack on your patch --- it was very hard to review that thing, and we obviously were missing test cases so it wasn't obvious that we were breaking things. But we need to get peoples code working again. You can add comments like |
Sorry, if I sound like this. I don't mean to 😇 I certainly don't read anything as an attack on my patch. I'll submit a fix soon. |
…itive items Closes angular#10428
…itive items Closes angular#10428
…itive items Closes angular#10428
…itive items Closes angular#10428
…itive items Closes angular#10428
…itive items Closes angular#10428
Updated from 1.3.2 to 1.3.6 and one of my ng-repeat filters broke.
The solution was to change
item in items | filter:search
toitem in items | filter:search.$
.Couldn't find it in the changelog. Am I missing something?
See Plunker
The text was updated successfully, but these errors were encountered: