{"action":"created","issue":{"url":"https://api.github.com/repos/ryancramerdesign/ProcessWire/issues/1195","labels_url":"https://api.github.com/repos/ryancramerdesign/ProcessWire/issues/1195/labels{/name}","comments_url":"https://api.github.com/repos/ryancramerdesign/ProcessWire/issues/1195/comments","events_url":"https://api.github.com/repos/ryancramerdesign/ProcessWire/issues/1195/events","html_url":"https://github.com/ryancramerdesign/ProcessWire/issues/1195","id":79514504,"number":1195,"title":"has_parent buggy","user":{"login":"LostKobrakai","id":2489835,"avatar_url":"https://avatars.githubusercontent.com/u/2489835?v=3","gravatar_id":"","url":"https://api.github.com/users/LostKobrakai","html_url":"https://github.com/LostKobrakai","followers_url":"https://api.github.com/users/LostKobrakai/followers","following_url":"https://api.github.com/users/LostKobrakai/following{/other_user}","gists_url":"https://api.github.com/users/LostKobrakai/gists{/gist_id}","starred_url":"https://api.github.com/users/LostKobrakai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LostKobrakai/subscriptions","organizations_url":"https://api.github.com/users/LostKobrakai/orgs","repos_url":"https://api.github.com/users/LostKobrakai/repos","events_url":"https://api.github.com/users/LostKobrakai/events{/privacy}","received_events_url":"https://api.github.com/users/LostKobrakai/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ryancramerdesign/ProcessWire/labels/Fixed","name":"Fixed","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-22T16:18:51Z","updated_at":"2015-06-05T07:50:11Z","closed_at":null,"body":"```php\r\nvar_dump($pages->find(\"has_parent=7438, id=8383, include=all, check_access=0\")->implode(\", \", \"id\"), $pages->get(8383)->parent(\"id=7438\")->id);\r\n// Output:\r\n// string(0) \"\" int(7438)\r\n```\r\nThis is somehow not the case for all pages, but only some of them won't be found with `has_parent`.\r\n"},"comment":{"url":"https://api.github.com/repos/ryancramerdesign/ProcessWire/issues/comments/109194419","html_url":"https://github.com/ryancramerdesign/ProcessWire/issues/1195#issuecomment-109194419","issue_url":"https://api.github.com/repos/ryancramerdesign/ProcessWire/issues/1195","id":109194419,"user":{"login":"somatonic","id":370148,"avatar_url":"https://avatars.githubusercontent.com/u/370148?v=3","gravatar_id":"","url":"https://api.github.com/users/somatonic","html_url":"https://github.com/somatonic","followers_url":"https://api.github.com/users/somatonic/followers","following_url":"https://api.github.com/users/somatonic/following{/other_user}","gists_url":"https://api.github.com/users/somatonic/gists{/gist_id}","starred_url":"https://api.github.com/users/somatonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/somatonic/subscriptions","organizations_url":"https://api.github.com/users/somatonic/orgs","repos_url":"https://api.github.com/users/somatonic/repos","events_url":"https://api.github.com/users/somatonic/events{/privacy}","received_events_url":"https://api.github.com/users/somatonic/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T07:50:11Z","updated_at":"2015-06-05T07:50:11Z","body":"This was known for a long time and that is had to do with pages_parents and most likely clone https://processwire.com/talk/topic/8585-issue-with-has-parent-selector/ only one of the many threads about that issue.\r\n\r\nI even reported the issue and with the info that it happend on page clone https://github.com/ryancramerdesign/ProcessWire/issues/404"}}