{"action":"created","issue":{"url":"https://api.github.com/repos/OrchardCMS/OrchardCore/issues/1529","repository_url":"https://api.github.com/repos/OrchardCMS/OrchardCore","labels_url":"https://api.github.com/repos/OrchardCMS/OrchardCore/issues/1529/labels{/name}","comments_url":"https://api.github.com/repos/OrchardCMS/OrchardCore/issues/1529/comments","events_url":"https://api.github.com/repos/OrchardCMS/OrchardCore/issues/1529/events","html_url":"https://github.com/OrchardCMS/OrchardCore/issues/1529","id":300467784,"number":1529,"title":"Queries and Content alias should be objects in liquid","user":{"login":"sebastienros","id":1165805,"avatar_url":"https://avatars0.githubusercontent.com/u/1165805?v=4","gravatar_id":"","url":"https://api.github.com/users/sebastienros","html_url":"https://github.com/sebastienros","followers_url":"https://api.github.com/users/sebastienros/followers","following_url":"https://api.github.com/users/sebastienros/following{/other_user}","gists_url":"https://api.github.com/users/sebastienros/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastienros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastienros/subscriptions","organizations_url":"https://api.github.com/users/sebastienros/orgs","repos_url":"https://api.github.com/users/sebastienros/repos","events_url":"https://api.github.com/users/sebastienros/events{/privacy}","received_events_url":"https://api.github.com/users/sebastienros/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-27T02:11:04Z","updated_at":"2018-02-27T02:26:49Z","closed_at":null,"author_association":"OWNER","body":"Instead of the current filters to execute queries and retrieve content by alias.\r\nSomething like \r\n\r\n`{% assign posts = Queries.LatestBlogPosts %} and to retrieve content could be something like `{{ Content.MyContentAlias | display_text }}`\r\n\r\nThe issue to solve is how to pass custom parameters to queries, or alias with a syntax that is not compatible with liquid like `/blog/my-post`."},"comment":{"url":"https://api.github.com/repos/OrchardCMS/OrchardCore/issues/comments/368724766","html_url":"https://github.com/OrchardCMS/OrchardCore/issues/1529#issuecomment-368724766","issue_url":"https://api.github.com/repos/OrchardCMS/OrchardCore/issues/1529","id":368724766,"user":{"login":"sebastienros","id":1165805,"avatar_url":"https://avatars0.githubusercontent.com/u/1165805?v=4","gravatar_id":"","url":"https://api.github.com/users/sebastienros","html_url":"https://github.com/sebastienros","followers_url":"https://api.github.com/users/sebastienros/followers","following_url":"https://api.github.com/users/sebastienros/following{/other_user}","gists_url":"https://api.github.com/users/sebastienros/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastienros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastienros/subscriptions","organizations_url":"https://api.github.com/users/sebastienros/orgs","repos_url":"https://api.github.com/users/sebastienros/repos","events_url":"https://api.github.com/users/sebastienros/events{/privacy}","received_events_url":"https://api.github.com/users/sebastienros/received_events","type":"User","site_admin":false},"created_at":"2018-02-27T02:26:49Z","updated_at":"2018-02-27T02:26:49Z","author_association":"OWNER","body":"For queries the issue is to pass parameters\r\n\r\nSome solution\r\n- `Queries.LatestBlogPosts` that will work for simple cases, and I think most of them are\r\n- `Queries.LatestBlogPosts[\"limit:10 skip:20\"]` we could reuse the liquid syntax inside the accessor\r\n\r\n"}}
{"actor":{"display_login":"sebastienros"}}