Title: Null filter not returning anything: filter:{category:null}" · Issue #1780 · angular/angular.js · GitHub
Open Graph Title: Null filter not returning anything: filter:{category:null}" · Issue #1780 · angular/angular.js
X Title: Null filter not returning anything: filter:{category:null}" · Issue #1780 · angular/angular.js
Description: Dataset: $scope.objs = [{name:'obj1', category:null}, {name:'obj2', category:null}, {name:'obj3', category:null}, {name:'obj4', category:1}, {name:'obj5', category:1}, {name:'obj6', category:1}, {name:'obj7', category:2}, {name:'obj8', c...
Open Graph Description: Dataset: $scope.objs = [{name:'obj1', category:null}, {name:'obj2', category:null}, {name:'obj3', category:null}, {name:'obj4', category:1}, {name:'obj5', category:1}, {name:'obj6', category:1}, {n...
X Description: Dataset: $scope.objs = [{name:'obj1', category:null}, {name:'obj2', category:null}, {name:'obj3', category:null}, {name:'obj4', category:1}, {name:'obj5', ca...
Opengraph URL: https://github.com/angular/angular.js/issues/1780
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Null filter not returning anything: filter:{category:null}\"","articleBody":"Dataset:\n\n``` javascript\n$scope.objs = [{name:'obj1', category:null}, {name:'obj2', category:null}, {name:'obj3', category:null}, {name:'obj4', category:1}, {name:'obj5', category:1}, {name:'obj6', category:1}, {name:'obj7', category:2}, {name:'obj8', category:2}, {name:'obj9', category:2}];\n```\n\nWhen i create an ng-repeat like this it returns the expected subset:\nng-repeat=\"obj in objs | filter:{category:1}\"\n\nBut when i do this it does not show anything: (search for null instead of 1)\nng-repeat=\"obj in objs | filter:{category:null}\"\n\nThis behaviour has been tested in 1.1.1 and 1.0.1 on chrome 23.0.1271.97 and IE9.\n\nPlnkr and jsfiddle demo's:\nhttp://plnkr.co/edit/jgfPPE\nhttp://jsfiddle.net/KQYMY/17/\n","author":{"url":"https://github.com/martijnve","@type":"Person","name":"martijnve"},"datePublished":"2013-01-09T10:12:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":45},"url":"https://github.com/1780/angular.js/issues/1780"}
| 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:39d8e5c6-b944-bcf3-a720-20cb92a445db |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B59A:F0D7A:A39223:DAD266:6A5A85BE |
| html-safe-nonce | e9b3a4b1210ac47ada30be94e2c2e5644a114981d51937fba413221df45e6907 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTlBOkYwRDdBOkEzOTIyMzpEQUQyNjY6NkE1QTg1QkUiLCJ2aXNpdG9yX2lkIjoiMzg3NTY4OTY4Njk1MDkwNTI3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8e68ffb8c4bf40cda450b5706fdce38a1453343b84dfdb0e94948150df14eac7 |
| hovercard-subject-tag | issue:9799152 |
| 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/1780/issue_layout |
| twitter:image | https://opengraph.githubassets.com/df216035c6a1b9227034ed28086bf5dc8c5f9d72951e8c639b63c6442aee6fd4/angular/angular.js/issues/1780 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/df216035c6a1b9227034ed28086bf5dc8c5f9d72951e8c639b63c6442aee6fd4/angular/angular.js/issues/1780 |
| og:image:alt | Dataset: $scope.objs = [{name:'obj1', category:null}, {name:'obj2', category:null}, {name:'obj3', category:null}, {name:'obj4', category:1}, {name:'obj5', category:1}, {name:'obj6', category:1}, {n... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | martijnve |
| hostname | github.com |
| expected-hostname | github.com |
| None | 922bdba685ea48400234d557977f0e32d9adbae6f5125725b4f48cacc6801106 |
| 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 | 7c8a44665d760d73ead7e85d8f88b299152aa681 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width