{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/snippets-service/pulls/comments/60904057","id":60904057,"diff_hunk":"@@ -119,6 +121,14 @@ class BaseSnippetAdminForm(forms.ModelForm):\n class SnippetAdminForm(BaseSnippetAdminForm):\n     template = forms.ModelChoiceField(queryset=SnippetTemplate.objects.exclude(hidden=True),\n                                       widget=TemplateSelect)\n+    client_option_version_lower_bound = forms.ChoiceField(\n+        label='Firefox Version at least',\n+        choices=[('any', 'No limit'),\n+                 ('current_release', 'Current release')])\n+    client_option_version_upper_bound = forms.ChoiceField(\n+        label='Firefox Version at most',\n+        choices=[('any', 'No limit'),\n+                 ('older_than_current_release', 'Older than current release')])","path":"snippets/base/forms.py","position":28,"original_position":28,"commit_id":"e15d58303dc65ba22161309ef3522a1b68b1e95e","original_commit_id":"e15d58303dc65ba22161309ef3522a1b68b1e95e","user":{"login":"akatsoulas","id":900565,"avatar_url":"https://avatars.githubusercontent.com/u/900565?v=3","gravatar_id":"","url":"https://api.github.com/users/akatsoulas","html_url":"https://github.com/akatsoulas","followers_url":"https://api.github.com/users/akatsoulas/followers","following_url":"https://api.github.com/users/akatsoulas/following{/other_user}","gists_url":"https://api.github.com/users/akatsoulas/gists{/gist_id}","starred_url":"https://api.github.com/users/akatsoulas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akatsoulas/subscriptions","organizations_url":"https://api.github.com/users/akatsoulas/orgs","repos_url":"https://api.github.com/users/akatsoulas/repos","events_url":"https://api.github.com/users/akatsoulas/events{/privacy}","received_events_url":"https://api.github.com/users/akatsoulas/received_events","type":"User","site_admin":false},"body":"Well I am a bit confused here, if `current release == Older than current release`, I would suggest to change the name. If not please ignore :)","created_at":"2016-04-25T12:26:00Z","updated_at":"2016-04-25T12:26:00Z","html_url":"https://github.com/mozilla/snippets-service/pull/195#discussion_r60904057","pull_request_url":"https://api.github.com/repos/mozilla/snippets-service/pulls/195","_links":{"self":{"href":"https://api.github.com/repos/mozilla/snippets-service/pulls/comments/60904057"},"html":{"href":"https://github.com/mozilla/snippets-service/pull/195#discussion_r60904057"},"pull_request":{"href":"https://api.github.com/repos/mozilla/snippets-service/pulls/195"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/snippets-service/pulls/195","id":67321990,"html_url":"https://github.com/mozilla/snippets-service/pull/195","diff_url":"https://github.com/mozilla/snippets-service/pull/195.diff","patch_url":"https://github.com/mozilla/snippets-service/pull/195.patch","issue_url":"https://api.github.com/repos/mozilla/snippets-service/issues/195","number":195,"state":"open","locked":false,"title":" [fix bug 933848] Allow snippet filtering based on version. ","user":{"login":"glogiotatidis","id":584352,"avatar_url":"https://avatars.githubusercontent.com/u/584352?v=3","gravatar_id":"","url":"https://api.github.com/users/glogiotatidis","html_url":"https://github.com/glogiotatidis","followers_url":"https://api.github.com/users/glogiotatidis/followers","following_url":"https://api.github.com/users/glogiotatidis/following{/other_user}","gists_url":"https://api.github.com/users/glogiotatidis/gists{/gist_id}","starred_url":"https://api.github.com/users/glogiotatidis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glogiotatidis/subscriptions","organizations_url":"https://api.github.com/users/glogiotatidis/orgs","repos_url":"https://api.github.com/users/glogiotatidis/repos","events_url":"https://api.github.com/users/glogiotatidis/events{/privacy}","received_events_url":"https://api.github.com/users/glogiotatidis/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-21T09:23:53Z","updated_at":"2016-04-25T12:26:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"71fc0342c1dc9ce7f1a56669444e99d8578e38ce","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/snippets-service/pulls/195/commits","review_comments_url":"https://api.github.com/repos/mozilla/snippets-service/pulls/195/comments","review_comment_url":"https://api.github.com/repos/mozilla/snippets-service/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/snippets-service/issues/195/comments","statuses_url":"https://api.github.com/repos/mozilla/snippets-service/statuses/e15d58303dc65ba22161309ef3522a1b68b1e95e","head":{"label":"glogiotatidis:FF_version_segment","ref":"FF_version_segment","sha":"e15d58303dc65ba22161309ef3522a1b68b1e95e","user":{"login":"glogiotatidis","id":584352,"avatar_url":"https://avatars.githubusercontent.com/u/584352?v=3","gravatar_id":"","url":"https://api.github.com/users/glogiotatidis","html_url":"https://github.com/glogiotatidis","followers_url":"https://api.github.com/users/glogiotatidis/followers","following_url":"https://api.github.com/users/glogiotatidis/following{/other_user}","gists_url":"https://api.github.com/users/glogiotatidis/gists{/gist_id}","starred_url":"https://api.github.com/users/glogiotatidis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glogiotatidis/subscriptions","organizations_url":"https://api.github.com/users/glogiotatidis/orgs","repos_url":"https://api.github.com/users/glogiotatidis/repos","events_url":"https://api.github.com/users/glogiotatidis/events{/privacy}","received_events_url":"https://api.github.com/users/glogiotatidis/received_events","type":"User","site_admin":false},"repo":{"id":9981248,"name":"snippets-service","full_name":"glogiotatidis/snippets-service","owner":{"login":"glogiotatidis","id":584352,"avatar_url":"https://avatars.githubusercontent.com/u/584352?v=3","gravatar_id":"","url":"https://api.github.com/users/glogiotatidis","html_url":"https://github.com/glogiotatidis","followers_url":"https://api.github.com/users/glogiotatidis/followers","following_url":"https://api.github.com/users/glogiotatidis/following{/other_user}","gists_url":"https://api.github.com/users/glogiotatidis/gists{/gist_id}","starred_url":"https://api.github.com/users/glogiotatidis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glogiotatidis/subscriptions","organizations_url":"https://api.github.com/users/glogiotatidis/orgs","repos_url":"https://api.github.com/users/glogiotatidis/repos","events_url":"https://api.github.com/users/glogiotatidis/events{/privacy}","received_events_url":"https://api.github.com/users/glogiotatidis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/glogiotatidis/snippets-service","description":"","fork":true,"url":"https://api.github.com/repos/glogiotatidis/snippets-service","forks_url":"https://api.github.com/repos/glogiotatidis/snippets-service/forks","keys_url":"https://api.github.com/repos/glogiotatidis/snippets-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/glogiotatidis/snippets-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/glogiotatidis/snippets-service/teams","hooks_url":"https://api.github.com/repos/glogiotatidis/snippets-service/hooks","issue_events_url":"https://api.github.com/repos/glogiotatidis/snippets-service/issues/events{/number}","events_url":"https://api.github.com/repos/glogiotatidis/snippets-service/events","assignees_url":"https://api.github.com/repos/glogiotatidis/snippets-service/assignees{/user}","branches_url":"https://api.github.com/repos/glogiotatidis/snippets-service/branches{/branch}","tags_url":"https://api.github.com/repos/glogiotatidis/snippets-service/tags","blobs_url":"https://api.github.com/repos/glogiotatidis/snippets-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/glogiotatidis/snippets-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/glogiotatidis/snippets-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/glogiotatidis/snippets-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/glogiotatidis/snippets-service/statuses/{sha}","languages_url":"https://api.github.com/repos/glogiotatidis/snippets-service/languages","stargazers_url":"https://api.github.com/repos/glogiotatidis/snippets-service/stargazers","contributors_url":"https://api.github.com/repos/glogiotatidis/snippets-service/contributors","subscribers_url":"https://api.github.com/repos/glogiotatidis/snippets-service/subscribers","subscription_url":"https://api.github.com/repos/glogiotatidis/snippets-service/subscription","commits_url":"https://api.github.com/repos/glogiotatidis/snippets-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/glogiotatidis/snippets-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/glogiotatidis/snippets-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/glogiotatidis/snippets-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/glogiotatidis/snippets-service/contents/{+path}","compare_url":"https://api.github.com/repos/glogiotatidis/snippets-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/glogiotatidis/snippets-service/merges","archive_url":"https://api.github.com/repos/glogiotatidis/snippets-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/glogiotatidis/snippets-service/downloads","issues_url":"https://api.github.com/repos/glogiotatidis/snippets-service/issues{/number}","pulls_url":"https://api.github.com/repos/glogiotatidis/snippets-service/pulls{/number}","milestones_url":"https://api.github.com/repos/glogiotatidis/snippets-service/milestones{/number}","notifications_url":"https://api.github.com/repos/glogiotatidis/snippets-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/glogiotatidis/snippets-service/labels{/name}","releases_url":"https://api.github.com/repos/glogiotatidis/snippets-service/releases{/id}","deployments_url":"https://api.github.com/repos/glogiotatidis/snippets-service/deployments","created_at":"2013-05-10T12:47:59Z","updated_at":"2015-02-12T12:20:22Z","pushed_at":"2016-04-25T11:55:07Z","git_url":"git://github.com/glogiotatidis/snippets-service.git","ssh_url":"git@github.com:glogiotatidis/snippets-service.git","clone_url":"https://github.com/glogiotatidis/snippets-service.git","svn_url":"https://github.com/glogiotatidis/snippets-service","homepage":null,"size":2974,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"9c1a53ce367a37bde3ea16f0c384cc40c82a0a25","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":9823018,"name":"snippets-service","full_name":"mozilla/snippets-service","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/snippets-service","description":"Service powering snippets on Firefox's about:home.","fork":false,"url":"https://api.github.com/repos/mozilla/snippets-service","forks_url":"https://api.github.com/repos/mozilla/snippets-service/forks","keys_url":"https://api.github.com/repos/mozilla/snippets-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/snippets-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/snippets-service/teams","hooks_url":"https://api.github.com/repos/mozilla/snippets-service/hooks","issue_events_url":"https://api.github.com/repos/mozilla/snippets-service/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/snippets-service/events","assignees_url":"https://api.github.com/repos/mozilla/snippets-service/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/snippets-service/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/snippets-service/tags","blobs_url":"https://api.github.com/repos/mozilla/snippets-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/snippets-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/snippets-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/snippets-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/snippets-service/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/snippets-service/languages","stargazers_url":"https://api.github.com/repos/mozilla/snippets-service/stargazers","contributors_url":"https://api.github.com/repos/mozilla/snippets-service/contributors","subscribers_url":"https://api.github.com/repos/mozilla/snippets-service/subscribers","subscription_url":"https://api.github.com/repos/mozilla/snippets-service/subscription","commits_url":"https://api.github.com/repos/mozilla/snippets-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/snippets-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/snippets-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/snippets-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/snippets-service/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/snippets-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/snippets-service/merges","archive_url":"https://api.github.com/repos/mozilla/snippets-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/snippets-service/downloads","issues_url":"https://api.github.com/repos/mozilla/snippets-service/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/snippets-service/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/snippets-service/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/snippets-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/snippets-service/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/snippets-service/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/snippets-service/deployments","created_at":"2013-05-02T21:25:50Z","updated_at":"2016-04-01T09:07:44Z","pushed_at":"2016-04-25T11:55:07Z","git_url":"git://github.com/mozilla/snippets-service.git","ssh_url":"git@github.com:mozilla/snippets-service.git","clone_url":"https://github.com/mozilla/snippets-service.git","svn_url":"https://github.com/mozilla/snippets-service","homepage":"https://snippets.mozilla.com","size":3141,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":5,"forks":16,"open_issues":5,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/snippets-service/pulls/195"},"html":{"href":"https://github.com/mozilla/snippets-service/pull/195"},"issue":{"href":"https://api.github.com/repos/mozilla/snippets-service/issues/195"},"comments":{"href":"https://api.github.com/repos/mozilla/snippets-service/issues/195/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/snippets-service/pulls/195/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/snippets-service/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/snippets-service/pulls/195/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/snippets-service/statuses/e15d58303dc65ba22161309ef3522a1b68b1e95e"}}}}