{"action":"created","issue":{"url":"https://api.github.com/repos/AnimalDesign/bolt-translate/issues/83","repository_url":"https://api.github.com/repos/AnimalDesign/bolt-translate","labels_url":"https://api.github.com/repos/AnimalDesign/bolt-translate/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/AnimalDesign/bolt-translate/issues/83/comments","events_url":"https://api.github.com/repos/AnimalDesign/bolt-translate/issues/83/events","html_url":"https://github.com/AnimalDesign/bolt-translate/issues/83","id":182285845,"number":83,"title":"Using 'where' in translateable items","user":{"login":"evertalbers","id":3974120,"avatar_url":"https://avatars.githubusercontent.com/u/3974120?v=3","gravatar_id":"","url":"https://api.github.com/users/evertalbers","html_url":"https://github.com/evertalbers","followers_url":"https://api.github.com/users/evertalbers/followers","following_url":"https://api.github.com/users/evertalbers/following{/other_user}","gists_url":"https://api.github.com/users/evertalbers/gists{/gist_id}","starred_url":"https://api.github.com/users/evertalbers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evertalbers/subscriptions","organizations_url":"https://api.github.com/users/evertalbers/orgs","repos_url":"https://api.github.com/users/evertalbers/repos","events_url":"https://api.github.com/users/evertalbers/events{/privacy}","received_events_url":"https://api.github.com/users/evertalbers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-11T14:52:58Z","updated_at":"2016-10-11T15:40:53Z","closed_at":null,"body":"Is it possible that using 'where' as in https://docs.bolt.cm/3.1/templating/content-fetching#using-code-where-code does not work for translatable fields? \r\nI tried it in a boolean (to filter out consciously-untranslated items in a list) and that did not work.\r\n\r\nNow using an if-then loop, but 'where' would be better to get a proper pagination."},"comment":{"url":"https://api.github.com/repos/AnimalDesign/bolt-translate/issues/comments/252955743","html_url":"https://github.com/AnimalDesign/bolt-translate/issues/83#issuecomment-252955743","issue_url":"https://api.github.com/repos/AnimalDesign/bolt-translate/issues/83","id":252955743,"user":{"login":"SahAssar","id":5096632,"avatar_url":"https://avatars.githubusercontent.com/u/5096632?v=3","gravatar_id":"","url":"https://api.github.com/users/SahAssar","html_url":"https://github.com/SahAssar","followers_url":"https://api.github.com/users/SahAssar/followers","following_url":"https://api.github.com/users/SahAssar/following{/other_user}","gists_url":"https://api.github.com/users/SahAssar/gists{/gist_id}","starred_url":"https://api.github.com/users/SahAssar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SahAssar/subscriptions","organizations_url":"https://api.github.com/users/SahAssar/orgs","repos_url":"https://api.github.com/users/SahAssar/repos","events_url":"https://api.github.com/users/SahAssar/events{/privacy}","received_events_url":"https://api.github.com/users/SahAssar/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T15:40:53Z","updated_at":"2016-10-11T15:40:53Z","body":"`where` works on the default contenttype, not on translated values. This is because the values arent replaced with translated ones until after the records are fetched from db and are being hydrated."}}
{"actor":{"display_login":"SahAssar"}}