GitHub PullRequestEvent at 2014-06-11 15:22:48
Repository: pydoof
Actor: superalex
Payload: {"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/doofinder/pydoof/pulls/3","id":17004418,"html_url":"https://github.com/doofinder/pydoof/pull/3","diff_url":"https://github.com/doofinder/pydoof/pull/3.diff","patch_url":"https://github.com/doofinder/pydoof/pull/3.patch","issue_url":"https://api.github.com/repos/doofinder/pydoof/issues/3","number":3,"state":"open","title":"Adding sort by different paraments respecting the specified order","user":{"login":"superalex","id":1579633,"avatar_url":"https://avatars.githubusercontent.com/u/1579633?","gravatar_id":"058ce9db2b074a849a296edeeb3dca8a","url":"https://api.github.com/users/superalex","html_url":"https://github.com/superalex","followers_url":"https://api.github.com/users/superalex/followers","following_url":"https://api.github.com/users/superalex/following{/other_user}","gists_url":"https://api.github.com/users/superalex/gists{/gist_id}","starred_url":"https://api.github.com/users/superalex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superalex/subscriptions","organizations_url":"https://api.github.com/users/superalex/orgs","repos_url":"https://api.github.com/users/superalex/repos","events_url":"https://api.github.com/users/superalex/events{/privacy}","received_events_url":"https://api.github.com/users/superalex/received_events","type":"User","site_admin":false},"body":"I needed to make a doofinder query ordering by two different parameters but I could just specify them as dict keys so the order wasn't respected.\r\n\r\nWith this approach you can set the exact order of the filters you need to apply.\r\n\r\nI hope you like it! ;)","created_at":"2014-06-11T15:22:48Z","updated_at":"2014-06-11T15:22:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/doofinder/pydoof/pulls/3/commits","review_comments_url":"https://api.github.com/repos/doofinder/pydoof/pulls/3/comments","review_comment_url":"https://api.github.com/repos/doofinder/pydoof/pulls/comments/{number}","comments_url":"https://api.github.com/repos/doofinder/pydoof/issues/3/comments","statuses_url":"https://api.github.com/repos/doofinder/pydoof/statuses/9fe719ad81b2a156a1b2ec9bf478c08770bb5537","head":{"label":"superalex:master","ref":"master","sha":"9fe719ad81b2a156a1b2ec9bf478c08770bb5537","user":{"login":"superalex","id":1579633,"avatar_url":"https://avatars.githubusercontent.com/u/1579633?","gravatar_id":"058ce9db2b074a849a296edeeb3dca8a","url":"https://api.github.com/users/superalex","html_url":"https://github.com/superalex","followers_url":"https://api.github.com/users/superalex/followers","following_url":"https://api.github.com/users/superalex/following{/other_user}","gists_url":"https://api.github.com/users/superalex/gists{/gist_id}","starred_url":"https://api.github.com/users/superalex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superalex/subscriptions","organizations_url":"https://api.github.com/users/superalex/orgs","repos_url":"https://api.github.com/users/superalex/repos","events_url":"https://api.github.com/users/superalex/events{/privacy}","received_events_url":"https://api.github.com/users/superalex/received_events","type":"User","site_admin":false},"repo":{"id":20526497,"name":"pydoof","full_name":"superalex/pydoof","owner":{"login":"superalex","id":1579633,"avatar_url":"https://avatars.githubusercontent.com/u/1579633?","gravatar_id":"058ce9db2b074a849a296edeeb3dca8a","url":"https://api.github.com/users/superalex","html_url":"https://github.com/superalex","followers_url":"https://api.github.com/users/superalex/followers","following_url":"https://api.github.com/users/superalex/following{/other_user}","gists_url":"https://api.github.com/users/superalex/gists{/gist_id}","starred_url":"https://api.github.com/users/superalex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superalex/subscriptions","organizations_url":"https://api.github.com/users/superalex/orgs","repos_url":"https://api.github.com/users/superalex/repos","events_url":"https://api.github.com/users/superalex/events{/privacy}","received_events_url":"https://api.github.com/users/superalex/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/superalex/pydoof","description":"Python Client for doofinder","fork":true,"url":"https://api.github.com/repos/superalex/pydoof","forks_url":"https://api.github.com/repos/superalex/pydoof/forks","keys_url":"https://api.github.com/repos/superalex/pydoof/keys{/key_id}","collaborators_url":"https://api.github.com/repos/superalex/pydoof/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/superalex/pydoof/teams","hooks_url":"https://api.github.com/repos/superalex/pydoof/hooks","issue_events_url":"https://api.github.com/repos/superalex/pydoof/issues/events{/number}","events_url":"https://api.github.com/repos/superalex/pydoof/events","assignees_url":"https://api.github.com/repos/superalex/pydoof/assignees{/user}","branches_url":"https://api.github.com/repos/superalex/pydoof/branches{/branch}","tags_url":"https://api.github.com/repos/superalex/pydoof/tags","blobs_url":"https://api.github.com/repos/superalex/pydoof/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/superalex/pydoof/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/superalex/pydoof/git/refs{/sha}","trees_url":"https://api.github.com/repos/superalex/pydoof/git/trees{/sha}","statuses_url":"https://api.github.com/repos/superalex/pydoof/statuses/{sha}","languages_url":"https://api.github.com/repos/superalex/pydoof/languages","stargazers_url":"https://api.github.com/repos/superalex/pydoof/stargazers","contributors_url":"https://api.github.com/repos/superalex/pydoof/contributors","subscribers_url":"https://api.github.com/repos/superalex/pydoof/subscribers","subscription_url":"https://api.github.com/repos/superalex/pydoof/subscription","commits_url":"https://api.github.com/repos/superalex/pydoof/commits{/sha}","git_commits_url":"https://api.github.com/repos/superalex/pydoof/git/commits{/sha}","comments_url":"https://api.github.com/repos/superalex/pydoof/comments{/number}","issue_comment_url":"https://api.github.com/repos/superalex/pydoof/issues/comments/{number}","contents_url":"https://api.github.com/repos/superalex/pydoof/contents/{+path}","compare_url":"https://api.github.com/repos/superalex/pydoof/compare/{base}...{head}","merges_url":"https://api.github.com/repos/superalex/pydoof/merges","archive_url":"https://api.github.com/repos/superalex/pydoof/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/superalex/pydoof/downloads","issues_url":"https://api.github.com/repos/superalex/pydoof/issues{/number}","pulls_url":"https://api.github.com/repos/superalex/pydoof/pulls{/number}","milestones_url":"https://api.github.com/repos/superalex/pydoof/milestones{/number}","notifications_url":"https://api.github.com/repos/superalex/pydoof/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/superalex/pydoof/labels{/name}","releases_url":"https://api.github.com/repos/superalex/pydoof/releases{/id}","created_at":"2014-06-05T13:41:21Z","updated_at":"2014-06-11T15:22:48Z","pushed_at":"2014-06-11T15:17:10Z","git_url":"git://github.com/superalex/pydoof.git","ssh_url":"git@github.com:superalex/pydoof.git","clone_url":"https://github.com/superalex/pydoof.git","svn_url":"https://github.com/superalex/pydoof","homepage":null,"size":147,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"doofinder:master","ref":"master","sha":"e5a635c9d29d0cba3e82f11243a42fdf4dcbd766","user":{"login":"doofinder","id":1788302,"avatar_url":"https://avatars.githubusercontent.com/u/1788302?","gravatar_id":"ab41fa15c3249f882c4a5485bd222ecf","url":"https://api.github.com/users/doofinder","html_url":"https://github.com/doofinder","followers_url":"https://api.github.com/users/doofinder/followers","following_url":"https://api.github.com/users/doofinder/following{/other_user}","gists_url":"https://api.github.com/users/doofinder/gists{/gist_id}","starred_url":"https://api.github.com/users/doofinder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doofinder/subscriptions","organizations_url":"https://api.github.com/users/doofinder/orgs","repos_url":"https://api.github.com/users/doofinder/repos","events_url":"https://api.github.com/users/doofinder/events{/privacy}","received_events_url":"https://api.github.com/users/doofinder/received_events","type":"Organization","site_admin":false},"repo":{"id":12457495,"name":"pydoof","full_name":"doofinder/pydoof","owner":{"login":"doofinder","id":1788302,"avatar_url":"https://avatars.githubusercontent.com/u/1788302?","gravatar_id":"ab41fa15c3249f882c4a5485bd222ecf","url":"https://api.github.com/users/doofinder","html_url":"https://github.com/doofinder","followers_url":"https://api.github.com/users/doofinder/followers","following_url":"https://api.github.com/users/doofinder/following{/other_user}","gists_url":"https://api.github.com/users/doofinder/gists{/gist_id}","starred_url":"https://api.github.com/users/doofinder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doofinder/subscriptions","organizations_url":"https://api.github.com/users/doofinder/orgs","repos_url":"https://api.github.com/users/doofinder/repos","events_url":"https://api.github.com/users/doofinder/events{/privacy}","received_events_url":"https://api.github.com/users/doofinder/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/doofinder/pydoof","description":"Python Client for doofinder","fork":false,"url":"https://api.github.com/repos/doofinder/pydoof","forks_url":"https://api.github.com/repos/doofinder/pydoof/forks","keys_url":"https://api.github.com/repos/doofinder/pydoof/keys{/key_id}","collaborators_url":"https://api.github.com/repos/doofinder/pydoof/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/doofinder/pydoof/teams","hooks_url":"https://api.github.com/repos/doofinder/pydoof/hooks","issue_events_url":"https://api.github.com/repos/doofinder/pydoof/issues/events{/number}","events_url":"https://api.github.com/repos/doofinder/pydoof/events","assignees_url":"https://api.github.com/repos/doofinder/pydoof/assignees{/user}","branches_url":"https://api.github.com/repos/doofinder/pydoof/branches{/branch}","tags_url":"https://api.github.com/repos/doofinder/pydoof/tags","blobs_url":"https://api.github.com/repos/doofinder/pydoof/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/doofinder/pydoof/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/doofinder/pydoof/git/refs{/sha}","trees_url":"https://api.github.com/repos/doofinder/pydoof/git/trees{/sha}","statuses_url":"https://api.github.com/repos/doofinder/pydoof/statuses/{sha}","languages_url":"https://api.github.com/repos/doofinder/pydoof/languages","stargazers_url":"https://api.github.com/repos/doofinder/pydoof/stargazers","contributors_url":"https://api.github.com/repos/doofinder/pydoof/contributors","subscribers_url":"https://api.github.com/repos/doofinder/pydoof/subscribers","subscription_url":"https://api.github.com/repos/doofinder/pydoof/subscription","commits_url":"https://api.github.com/repos/doofinder/pydoof/commits{/sha}","git_commits_url":"https://api.github.com/repos/doofinder/pydoof/git/commits{/sha}","comments_url":"https://api.github.com/repos/doofinder/pydoof/comments{/number}","issue_comment_url":"https://api.github.com/repos/doofinder/pydoof/issues/comments/{number}","contents_url":"https://api.github.com/repos/doofinder/pydoof/contents/{+path}","compare_url":"https://api.github.com/repos/doofinder/pydoof/compare/{base}...{head}","merges_url":"https://api.github.com/repos/doofinder/pydoof/merges","archive_url":"https://api.github.com/repos/doofinder/pydoof/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/doofinder/pydoof/downloads","issues_url":"https://api.github.com/repos/doofinder/pydoof/issues{/number}","pulls_url":"https://api.github.com/repos/doofinder/pydoof/pulls{/number}","milestones_url":"https://api.github.com/repos/doofinder/pydoof/milestones{/number}","notifications_url":"https://api.github.com/repos/doofinder/pydoof/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/doofinder/pydoof/labels{/name}","releases_url":"https://api.github.com/repos/doofinder/pydoof/releases{/id}","created_at":"2013-08-29T10:24:35Z","updated_at":"2014-05-30T15:55:43Z","pushed_at":"2014-05-30T15:54:16Z","git_url":"git://github.com/doofinder/pydoof.git","ssh_url":"git@github.com:doofinder/pydoof.git","clone_url":"https://github.com/doofinder/pydoof.git","svn_url":"https://github.com/doofinder/pydoof","homepage":null,"size":344,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/doofinder/pydoof/pulls/3"},"html":{"href":"https://github.com/doofinder/pydoof/pull/3"},"issue":{"href":"https://api.github.com/repos/doofinder/pydoof/issues/3"},"comments":{"href":"https://api.github.com/repos/doofinder/pydoof/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/doofinder/pydoof/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/doofinder/pydoof/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/doofinder/pydoof/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/doofinder/pydoof/statuses/9fe719ad81b2a156a1b2ec9bf478c08770bb5537"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":36,"deletions":15,"changed_files":2}}