Title: Implement filtering on object-based ng-repeat · Issue #6490 · angular/angular.js · GitHub
Open Graph Title: Implement filtering on object-based ng-repeat · Issue #6490 · angular/angular.js
X Title: Implement filtering on object-based ng-repeat · Issue #6490 · angular/angular.js
Description: Currently if you are using the ng-repeat directive to walk over the properties of a non-array object, filters will not work as they test immediately if the collection is an array and reject anything not matching. This behavior can be see...
Open Graph Description: Currently if you are using the ng-repeat directive to walk over the properties of a non-array object, filters will not work as they test immediately if the collection is an array and reject anythin...
X Description: Currently if you are using the ng-repeat directive to walk over the properties of a non-array object, filters will not work as they test immediately if the collection is an array and reject anythin...
Opengraph URL: https://github.com/angular/angular.js/issues/6490
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Implement filtering on object-based ng-repeat","articleBody":"Currently if you are using the ng-repeat directive to walk over the properties of a non-array object, filters will not work as they test immediately if the collection is an array and reject anything not matching.\n\nThis behavior can be seen here: https://github.com/angular/angular.js/blob/06f2ba899fac8ad004bf65dce39a3b05e2387c0f/src/ng/filter/filter.js#L118 (thanks @caitp !)\n\nThis is an undocumented and - per #6215 - potentially unwanted behavior, since the syntax is the same for iterating over arrays and objects. Plus, it's just darn useful!\n\nOpening up the lines of discussion here to see if it's worth implementing filter functionality for objects and not just straight array/array-like structures.\n","author":{"url":"https://github.com/quantizor","@type":"Person","name":"quantizor"},"datePublished":"2014-02-28T05:42:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":13},"url":"https://github.com/6490/angular.js/issues/6490"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1241b507-3a75-253b-872e-74815f3c54f2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BDAE:90EFB:1327C90:1B98F2D:6A58AD07 |
| html-safe-nonce | 7a345177141527bdc52c50d485c01f609ba58ecb6aa62336b077ace9bb9e2e68 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCREFFOjkwRUZCOjEzMjdDOTA6MUI5OEYyRDo2QTU4QUQwNyIsInZpc2l0b3JfaWQiOiI4NDA1Mjc2MTIxMzE5OTEwNjYzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 623f51a4514fc6b140638546d07b7e14851fade54748c5b3c733816c49c262a6 |
| hovercard-subject-tag | issue:28479710 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular.js/6490/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ff6d35b89016ef33486178fe28a5a4a9f8686bba4b102ecbdf080254bb1fc9a8/angular/angular.js/issues/6490 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ff6d35b89016ef33486178fe28a5a4a9f8686bba4b102ecbdf080254bb1fc9a8/angular/angular.js/issues/6490 |
| og:image:alt | Currently if you are using the ng-repeat directive to walk over the properties of a non-array object, filters will not work as they test immediately if the collection is an array and reject anythin... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | quantizor |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular.js git https://github.com/angular/angular.js.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 460078 |
| octolytics-dimension-repository_nwo | angular/angular.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 460078 |
| octolytics-dimension-repository_network_root_nwo | angular/angular.js |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width