{"action":"created","comment":{"url":"https://api.github.com/repos/openhab/openhab-docs/pulls/comments/65801321","id":65801321,"diff_hunk":"@@ -6,9 +6,11 @@ layout: documentation\n \n # List of Available Bindings\n \n-{% assign bindings = site.data.bindings | sort: 'label.toLowerCase()' %}\n+{% assign bindings = \"\" | split: \"|\" %}","path":"addons/bindings.md","position":5,"original_position":5,"commit_id":"11ea8a4aacf1a493c6fc84cdb3415103033efd95","original_commit_id":"11ea8a4aacf1a493c6fc84cdb3415103033efd95","user":{"login":"watou","id":3008217,"avatar_url":"https://avatars.githubusercontent.com/u/3008217?v=3","gravatar_id":"","url":"https://api.github.com/users/watou","html_url":"https://github.com/watou","followers_url":"https://api.github.com/users/watou/followers","following_url":"https://api.github.com/users/watou/following{/other_user}","gists_url":"https://api.github.com/users/watou/gists{/gist_id}","starred_url":"https://api.github.com/users/watou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/watou/subscriptions","organizations_url":"https://api.github.com/users/watou/orgs","repos_url":"https://api.github.com/users/watou/repos","events_url":"https://api.github.com/users/watou/events{/privacy}","received_events_url":"https://api.github.com/users/watou/received_events","type":"User","site_admin":false},"body":"[\"You cannot initialize arrays using only Liquid. You can, however, use the split filter to break a single string into an array of substrings.\"](https://help.shopify.com/themes/liquid/basics/types#initializing-arrays).  Some example (I forget where) showed this as a workaround, and my local testing didn't show an empty array element.\r\n","created_at":"2016-06-04T11:08:27Z","updated_at":"2016-06-04T11:08:27Z","html_url":"https://github.com/openhab/openhab-docs/pull/12#discussion_r65801321","pull_request_url":"https://api.github.com/repos/openhab/openhab-docs/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/openhab/openhab-docs/pulls/comments/65801321"},"html":{"href":"https://github.com/openhab/openhab-docs/pull/12#discussion_r65801321"},"pull_request":{"href":"https://api.github.com/repos/openhab/openhab-docs/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/openhab/openhab-docs/pulls/12","id":72588863,"html_url":"https://github.com/openhab/openhab-docs/pull/12","diff_url":"https://github.com/openhab/openhab-docs/pull/12.diff","patch_url":"https://github.com/openhab/openhab-docs/pull/12.patch","issue_url":"https://api.github.com/repos/openhab/openhab-docs/issues/12","number":12,"state":"open","locked":false,"title":"Improve binding sorting (not 100%)","user":{"login":"watou","id":3008217,"avatar_url":"https://avatars.githubusercontent.com/u/3008217?v=3","gravatar_id":"","url":"https://api.github.com/users/watou","html_url":"https://github.com/watou","followers_url":"https://api.github.com/users/watou/followers","following_url":"https://api.github.com/users/watou/following{/other_user}","gists_url":"https://api.github.com/users/watou/gists{/gist_id}","starred_url":"https://api.github.com/users/watou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/watou/subscriptions","organizations_url":"https://api.github.com/users/watou/orgs","repos_url":"https://api.github.com/users/watou/repos","events_url":"https://api.github.com/users/watou/events{/privacy}","received_events_url":"https://api.github.com/users/watou/received_events","type":"User","site_admin":false},"body":"Workaround inability to [sort arrays from CSV files](https://github.com/jekyll/jekyll-help/issues/157) by pushing a new array and sorting that.  Also, sort by id because sorting by `field.toLowerCase()` does not work.  It's still not a perfect sort, but it's close.","created_at":"2016-06-04T01:30:28Z","updated_at":"2016-06-04T11:08:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"38a1e86754687ddc62f0f9d6a2ec525795d74ccd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openhab/openhab-docs/pulls/12/commits","review_comments_url":"https://api.github.com/repos/openhab/openhab-docs/pulls/12/comments","review_comment_url":"https://api.github.com/repos/openhab/openhab-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openhab/openhab-docs/issues/12/comments","statuses_url":"https://api.github.com/repos/openhab/openhab-docs/statuses/11ea8a4aacf1a493c6fc84cdb3415103033efd95","head":{"label":"watou:sort-bindings","ref":"sort-bindings","sha":"11ea8a4aacf1a493c6fc84cdb3415103033efd95","user":{"login":"watou","id":3008217,"avatar_url":"https://avatars.githubusercontent.com/u/3008217?v=3","gravatar_id":"","url":"https://api.github.com/users/watou","html_url":"https://github.com/watou","followers_url":"https://api.github.com/users/watou/followers","following_url":"https://api.github.com/users/watou/following{/other_user}","gists_url":"https://api.github.com/users/watou/gists{/gist_id}","starred_url":"https://api.github.com/users/watou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/watou/subscriptions","organizations_url":"https://api.github.com/users/watou/orgs","repos_url":"https://api.github.com/users/watou/repos","events_url":"https://api.github.com/users/watou/events{/privacy}","received_events_url":"https://api.github.com/users/watou/received_events","type":"User","site_admin":false},"repo":{"id":60024403,"name":"openhab-docs","full_name":"watou/openhab-docs","owner":{"login":"watou","id":3008217,"avatar_url":"https://avatars.githubusercontent.com/u/3008217?v=3","gravatar_id":"","url":"https://api.github.com/users/watou","html_url":"https://github.com/watou","followers_url":"https://api.github.com/users/watou/followers","following_url":"https://api.github.com/users/watou/following{/other_user}","gists_url":"https://api.github.com/users/watou/gists{/gist_id}","starred_url":"https://api.github.com/users/watou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/watou/subscriptions","organizations_url":"https://api.github.com/users/watou/orgs","repos_url":"https://api.github.com/users/watou/repos","events_url":"https://api.github.com/users/watou/events{/privacy}","received_events_url":"https://api.github.com/users/watou/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/watou/openhab-docs","description":"","fork":true,"url":"https://api.github.com/repos/watou/openhab-docs","forks_url":"https://api.github.com/repos/watou/openhab-docs/forks","keys_url":"https://api.github.com/repos/watou/openhab-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/watou/openhab-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/watou/openhab-docs/teams","hooks_url":"https://api.github.com/repos/watou/openhab-docs/hooks","issue_events_url":"https://api.github.com/repos/watou/openhab-docs/issues/events{/number}","events_url":"https://api.github.com/repos/watou/openhab-docs/events","assignees_url":"https://api.github.com/repos/watou/openhab-docs/assignees{/user}","branches_url":"https://api.github.com/repos/watou/openhab-docs/branches{/branch}","tags_url":"https://api.github.com/repos/watou/openhab-docs/tags","blobs_url":"https://api.github.com/repos/watou/openhab-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/watou/openhab-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/watou/openhab-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/watou/openhab-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/watou/openhab-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/watou/openhab-docs/languages","stargazers_url":"https://api.github.com/repos/watou/openhab-docs/stargazers","contributors_url":"https://api.github.com/repos/watou/openhab-docs/contributors","subscribers_url":"https://api.github.com/repos/watou/openhab-docs/subscribers","subscription_url":"https://api.github.com/repos/watou/openhab-docs/subscription","commits_url":"https://api.github.com/repos/watou/openhab-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/watou/openhab-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/watou/openhab-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/watou/openhab-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/watou/openhab-docs/contents/{+path}","compare_url":"https://api.github.com/repos/watou/openhab-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/watou/openhab-docs/merges","archive_url":"https://api.github.com/repos/watou/openhab-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/watou/openhab-docs/downloads","issues_url":"https://api.github.com/repos/watou/openhab-docs/issues{/number}","pulls_url":"https://api.github.com/repos/watou/openhab-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/watou/openhab-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/watou/openhab-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/watou/openhab-docs/labels{/name}","releases_url":"https://api.github.com/repos/watou/openhab-docs/releases{/id}","deployments_url":"https://api.github.com/repos/watou/openhab-docs/deployments","created_at":"2016-05-30T16:33:23Z","updated_at":"2016-05-30T16:33:25Z","pushed_at":"2016-06-04T01:47:44Z","git_url":"git://github.com/watou/openhab-docs.git","ssh_url":"git@github.com:watou/openhab-docs.git","clone_url":"https://github.com/watou/openhab-docs.git","svn_url":"https://github.com/watou/openhab-docs","homepage":null,"size":5105,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"openhab:gh-pages","ref":"gh-pages","sha":"6457c74ecb6390205517c246fb6b707592f9232f","user":{"login":"openhab","id":1007353,"avatar_url":"https://avatars.githubusercontent.com/u/1007353?v=3","gravatar_id":"","url":"https://api.github.com/users/openhab","html_url":"https://github.com/openhab","followers_url":"https://api.github.com/users/openhab/followers","following_url":"https://api.github.com/users/openhab/following{/other_user}","gists_url":"https://api.github.com/users/openhab/gists{/gist_id}","starred_url":"https://api.github.com/users/openhab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openhab/subscriptions","organizations_url":"https://api.github.com/users/openhab/orgs","repos_url":"https://api.github.com/users/openhab/repos","events_url":"https://api.github.com/users/openhab/events{/privacy}","received_events_url":"https://api.github.com/users/openhab/received_events","type":"Organization","site_admin":false},"repo":{"id":58825797,"name":"openhab-docs","full_name":"openhab/openhab-docs","owner":{"login":"openhab","id":1007353,"avatar_url":"https://avatars.githubusercontent.com/u/1007353?v=3","gravatar_id":"","url":"https://api.github.com/users/openhab","html_url":"https://github.com/openhab","followers_url":"https://api.github.com/users/openhab/followers","following_url":"https://api.github.com/users/openhab/following{/other_user}","gists_url":"https://api.github.com/users/openhab/gists{/gist_id}","starred_url":"https://api.github.com/users/openhab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openhab/subscriptions","organizations_url":"https://api.github.com/users/openhab/orgs","repos_url":"https://api.github.com/users/openhab/repos","events_url":"https://api.github.com/users/openhab/events{/privacy}","received_events_url":"https://api.github.com/users/openhab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openhab/openhab-docs","description":"","fork":false,"url":"https://api.github.com/repos/openhab/openhab-docs","forks_url":"https://api.github.com/repos/openhab/openhab-docs/forks","keys_url":"https://api.github.com/repos/openhab/openhab-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openhab/openhab-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openhab/openhab-docs/teams","hooks_url":"https://api.github.com/repos/openhab/openhab-docs/hooks","issue_events_url":"https://api.github.com/repos/openhab/openhab-docs/issues/events{/number}","events_url":"https://api.github.com/repos/openhab/openhab-docs/events","assignees_url":"https://api.github.com/repos/openhab/openhab-docs/assignees{/user}","branches_url":"https://api.github.com/repos/openhab/openhab-docs/branches{/branch}","tags_url":"https://api.github.com/repos/openhab/openhab-docs/tags","blobs_url":"https://api.github.com/repos/openhab/openhab-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openhab/openhab-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openhab/openhab-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/openhab/openhab-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openhab/openhab-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/openhab/openhab-docs/languages","stargazers_url":"https://api.github.com/repos/openhab/openhab-docs/stargazers","contributors_url":"https://api.github.com/repos/openhab/openhab-docs/contributors","subscribers_url":"https://api.github.com/repos/openhab/openhab-docs/subscribers","subscription_url":"https://api.github.com/repos/openhab/openhab-docs/subscription","commits_url":"https://api.github.com/repos/openhab/openhab-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/openhab/openhab-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/openhab/openhab-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/openhab/openhab-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/openhab/openhab-docs/contents/{+path}","compare_url":"https://api.github.com/repos/openhab/openhab-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openhab/openhab-docs/merges","archive_url":"https://api.github.com/repos/openhab/openhab-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openhab/openhab-docs/downloads","issues_url":"https://api.github.com/repos/openhab/openhab-docs/issues{/number}","pulls_url":"https://api.github.com/repos/openhab/openhab-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/openhab/openhab-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/openhab/openhab-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openhab/openhab-docs/labels{/name}","releases_url":"https://api.github.com/repos/openhab/openhab-docs/releases{/id}","deployments_url":"https://api.github.com/repos/openhab/openhab-docs/deployments","created_at":"2016-05-14T19:17:37Z","updated_at":"2016-05-24T09:46:05Z","pushed_at":"2016-06-04T01:47:44Z","git_url":"git://github.com/openhab/openhab-docs.git","ssh_url":"git@github.com:openhab/openhab-docs.git","clone_url":"https://github.com/openhab/openhab-docs.git","svn_url":"https://github.com/openhab/openhab-docs","homepage":null,"size":14942,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"open_issues_count":3,"forks":8,"open_issues":3,"watchers":0,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/openhab/openhab-docs/pulls/12"},"html":{"href":"https://github.com/openhab/openhab-docs/pull/12"},"issue":{"href":"https://api.github.com/repos/openhab/openhab-docs/issues/12"},"comments":{"href":"https://api.github.com/repos/openhab/openhab-docs/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/openhab/openhab-docs/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/openhab/openhab-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openhab/openhab-docs/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/openhab/openhab-docs/statuses/11ea8a4aacf1a493c6fc84cdb3415103033efd95"}}}}
{"actor":{"display_login":"watou"}}