{"action":"created","comment":{"url":"https://api.github.com/repos/collective/collective.cover/pulls/comments/28121277","id":28121277,"diff_hunk":"@@ -50,20 +71,38 @@\n         $(windowId + \" ul.formTabs\").tabs(\"div.panes > div\");\n     }\n \n+    var parse_url = function(url) {","path":"src/collective/cover/static/contentchooser.js","position":65,"original_position":65,"commit_id":"65a1390ac1664892076e56d0edf6167980cd784f","original_commit_id":"65a1390ac1664892076e56d0edf6167980cd784f","user":{"login":"rodfersou","id":131209,"avatar_url":"https://avatars.githubusercontent.com/u/131209?v=3","gravatar_id":"","url":"https://api.github.com/users/rodfersou","html_url":"https://github.com/rodfersou","followers_url":"https://api.github.com/users/rodfersou/followers","following_url":"https://api.github.com/users/rodfersou/following{/other_user}","gists_url":"https://api.github.com/users/rodfersou/gists{/gist_id}","starred_url":"https://api.github.com/users/rodfersou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodfersou/subscriptions","organizations_url":"https://api.github.com/users/rodfersou/orgs","repos_url":"https://api.github.com/users/rodfersou/repos","events_url":"https://api.github.com/users/rodfersou/events{/privacy}","received_events_url":"https://api.github.com/users/rodfersou/received_events","type":"User","site_admin":false},"body":"need this method to parse the plone default navigation url to get b_start attribute: \"http://localhost:8080/Plone/teste/compose?b_start:int=4\"\r\n\r\nit just breaks the url, convert to int the value, and return a dict with values","created_at":"2015-04-10T03:55:21Z","updated_at":"2015-04-10T03:55:21Z","html_url":"https://github.com/collective/collective.cover/pull/501#discussion_r28121277","pull_request_url":"https://api.github.com/repos/collective/collective.cover/pulls/501","_links":{"self":{"href":"https://api.github.com/repos/collective/collective.cover/pulls/comments/28121277"},"html":{"href":"https://github.com/collective/collective.cover/pull/501#discussion_r28121277"},"pull_request":{"href":"https://api.github.com/repos/collective/collective.cover/pulls/501"}}},"pull_request":{"url":"https://api.github.com/repos/collective/collective.cover/pulls/501","id":33015899,"html_url":"https://github.com/collective/collective.cover/pull/501","diff_url":"https://github.com/collective/collective.cover/pull/501.diff","patch_url":"https://github.com/collective/collective.cover/pull/501.patch","issue_url":"https://api.github.com/repos/collective/collective.cover/issues/501","number":501,"state":"open","locked":false,"title":"Issue 493 - Performance issue when searching for recent items","user":{"login":"rodfersou","id":131209,"avatar_url":"https://avatars.githubusercontent.com/u/131209?v=3","gravatar_id":"","url":"https://api.github.com/users/rodfersou","html_url":"https://github.com/rodfersou","followers_url":"https://api.github.com/users/rodfersou/followers","following_url":"https://api.github.com/users/rodfersou/following{/other_user}","gists_url":"https://api.github.com/users/rodfersou/gists{/gist_id}","starred_url":"https://api.github.com/users/rodfersou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodfersou/subscriptions","organizations_url":"https://api.github.com/users/rodfersou/orgs","repos_url":"https://api.github.com/users/rodfersou/repos","events_url":"https://api.github.com/users/rodfersou/events{/privacy}","received_events_url":"https://api.github.com/users/rodfersou/received_events","type":"User","site_admin":false},"body":"* ~~we should wait for the user to stop typing before making a search (check Plone's [livesearch script](https://github.com/plone/Products.CMFPlone/blob/4.3.x/Products/CMFPlone/skins/plone_ecmascript/livesearch.js))~~\r\n* ~~search should be done only on the title index~~\r\n* ~~an spinner should be shown to let the user know there is a search in progress~~\r\n* ~~we should display the number of search results~~\r\n* ~~we should return up to 20 elements instead of just 10; batch loading should be by 20 also~~\r\n* ~~we should show the item description in the title attribute~~\r\n* ~~we should use the ``grab`` cursor when selecting an item and ``grabbing`` when dragging it~~\r\n* Plus: added Plone default navigation (shows just when there are more than 20 items - Plone default behaviour)","created_at":"2015-04-10T03:41:13Z","updated_at":"2015-04-10T03:55:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"362437daf1846c5bceb19c5bd5400a20d47a32fa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/collective/collective.cover/pulls/501/commits","review_comments_url":"https://api.github.com/repos/collective/collective.cover/pulls/501/comments","review_comment_url":"https://api.github.com/repos/collective/collective.cover/pulls/comments{/number}","comments_url":"https://api.github.com/repos/collective/collective.cover/issues/501/comments","statuses_url":"https://api.github.com/repos/collective/collective.cover/statuses/65a1390ac1664892076e56d0edf6167980cd784f","head":{"label":"collective:issue_493","ref":"issue_493","sha":"65a1390ac1664892076e56d0edf6167980cd784f","user":{"login":"collective","id":362867,"avatar_url":"https://avatars.githubusercontent.com/u/362867?v=3","gravatar_id":"","url":"https://api.github.com/users/collective","html_url":"https://github.com/collective","followers_url":"https://api.github.com/users/collective/followers","following_url":"https://api.github.com/users/collective/following{/other_user}","gists_url":"https://api.github.com/users/collective/gists{/gist_id}","starred_url":"https://api.github.com/users/collective/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collective/subscriptions","organizations_url":"https://api.github.com/users/collective/orgs","repos_url":"https://api.github.com/users/collective/repos","events_url":"https://api.github.com/users/collective/events{/privacy}","received_events_url":"https://api.github.com/users/collective/received_events","type":"Organization","site_admin":false},"repo":{"id":2592312,"name":"collective.cover","full_name":"collective/collective.cover","owner":{"login":"collective","id":362867,"avatar_url":"https://avatars.githubusercontent.com/u/362867?v=3","gravatar_id":"","url":"https://api.github.com/users/collective","html_url":"https://github.com/collective","followers_url":"https://api.github.com/users/collective/followers","following_url":"https://api.github.com/users/collective/following{/other_user}","gists_url":"https://api.github.com/users/collective/gists{/gist_id}","starred_url":"https://api.github.com/users/collective/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collective/subscriptions","organizations_url":"https://api.github.com/users/collective/orgs","repos_url":"https://api.github.com/users/collective/repos","events_url":"https://api.github.com/users/collective/events{/privacy}","received_events_url":"https://api.github.com/users/collective/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/collective/collective.cover","description":"A sane, working, editor-friendly way of creating front pages and other composite pages. Working now, for mere mortals.","fork":false,"url":"https://api.github.com/repos/collective/collective.cover","forks_url":"https://api.github.com/repos/collective/collective.cover/forks","keys_url":"https://api.github.com/repos/collective/collective.cover/keys{/key_id}","collaborators_url":"https://api.github.com/repos/collective/collective.cover/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/collective/collective.cover/teams","hooks_url":"https://api.github.com/repos/collective/collective.cover/hooks","issue_events_url":"https://api.github.com/repos/collective/collective.cover/issues/events{/number}","events_url":"https://api.github.com/repos/collective/collective.cover/events","assignees_url":"https://api.github.com/repos/collective/collective.cover/assignees{/user}","branches_url":"https://api.github.com/repos/collective/collective.cover/branches{/branch}","tags_url":"https://api.github.com/repos/collective/collective.cover/tags","blobs_url":"https://api.github.com/repos/collective/collective.cover/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/collective/collective.cover/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/collective/collective.cover/git/refs{/sha}","trees_url":"https://api.github.com/repos/collective/collective.cover/git/trees{/sha}","statuses_url":"https://api.github.com/repos/collective/collective.cover/statuses/{sha}","languages_url":"https://api.github.com/repos/collective/collective.cover/languages","stargazers_url":"https://api.github.com/repos/collective/collective.cover/stargazers","contributors_url":"https://api.github.com/repos/collective/collective.cover/contributors","subscribers_url":"https://api.github.com/repos/collective/collective.cover/subscribers","subscription_url":"https://api.github.com/repos/collective/collective.cover/subscription","commits_url":"https://api.github.com/repos/collective/collective.cover/commits{/sha}","git_commits_url":"https://api.github.com/repos/collective/collective.cover/git/commits{/sha}","comments_url":"https://api.github.com/repos/collective/collective.cover/comments{/number}","issue_comment_url":"https://api.github.com/repos/collective/collective.cover/issues/comments{/number}","contents_url":"https://api.github.com/repos/collective/collective.cover/contents/{+path}","compare_url":"https://api.github.com/repos/collective/collective.cover/compare/{base}...{head}","merges_url":"https://api.github.com/repos/collective/collective.cover/merges","archive_url":"https://api.github.com/repos/collective/collective.cover/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/collective/collective.cover/downloads","issues_url":"https://api.github.com/repos/collective/collective.cover/issues{/number}","pulls_url":"https://api.github.com/repos/collective/collective.cover/pulls{/number}","milestones_url":"https://api.github.com/repos/collective/collective.cover/milestones{/number}","notifications_url":"https://api.github.com/repos/collective/collective.cover/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/collective/collective.cover/labels{/name}","releases_url":"https://api.github.com/repos/collective/collective.cover/releases{/id}","created_at":"2011-10-17T14:30:08Z","updated_at":"2015-04-01T21:12:16Z","pushed_at":"2015-04-10T03:44:40Z","git_url":"git://github.com/collective/collective.cover.git","ssh_url":"git@github.com:collective/collective.cover.git","clone_url":"https://github.com/collective/collective.cover.git","svn_url":"https://github.com/collective/collective.cover","homepage":"","size":10346,"stargazers_count":32,"watchers_count":32,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":47,"mirror_url":null,"open_issues_count":80,"forks":47,"open_issues":80,"watchers":32,"default_branch":"master"}},"base":{"label":"collective:master","ref":"master","sha":"1a205eb062f7692b763bd005a387d470168028e0","user":{"login":"collective","id":362867,"avatar_url":"https://avatars.githubusercontent.com/u/362867?v=3","gravatar_id":"","url":"https://api.github.com/users/collective","html_url":"https://github.com/collective","followers_url":"https://api.github.com/users/collective/followers","following_url":"https://api.github.com/users/collective/following{/other_user}","gists_url":"https://api.github.com/users/collective/gists{/gist_id}","starred_url":"https://api.github.com/users/collective/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collective/subscriptions","organizations_url":"https://api.github.com/users/collective/orgs","repos_url":"https://api.github.com/users/collective/repos","events_url":"https://api.github.com/users/collective/events{/privacy}","received_events_url":"https://api.github.com/users/collective/received_events","type":"Organization","site_admin":false},"repo":{"id":2592312,"name":"collective.cover","full_name":"collective/collective.cover","owner":{"login":"collective","id":362867,"avatar_url":"https://avatars.githubusercontent.com/u/362867?v=3","gravatar_id":"","url":"https://api.github.com/users/collective","html_url":"https://github.com/collective","followers_url":"https://api.github.com/users/collective/followers","following_url":"https://api.github.com/users/collective/following{/other_user}","gists_url":"https://api.github.com/users/collective/gists{/gist_id}","starred_url":"https://api.github.com/users/collective/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collective/subscriptions","organizations_url":"https://api.github.com/users/collective/orgs","repos_url":"https://api.github.com/users/collective/repos","events_url":"https://api.github.com/users/collective/events{/privacy}","received_events_url":"https://api.github.com/users/collective/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/collective/collective.cover","description":"A sane, working, editor-friendly way of creating front pages and other composite pages. Working now, for mere mortals.","fork":false,"url":"https://api.github.com/repos/collective/collective.cover","forks_url":"https://api.github.com/repos/collective/collective.cover/forks","keys_url":"https://api.github.com/repos/collective/collective.cover/keys{/key_id}","collaborators_url":"https://api.github.com/repos/collective/collective.cover/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/collective/collective.cover/teams","hooks_url":"https://api.github.com/repos/collective/collective.cover/hooks","issue_events_url":"https://api.github.com/repos/collective/collective.cover/issues/events{/number}","events_url":"https://api.github.com/repos/collective/collective.cover/events","assignees_url":"https://api.github.com/repos/collective/collective.cover/assignees{/user}","branches_url":"https://api.github.com/repos/collective/collective.cover/branches{/branch}","tags_url":"https://api.github.com/repos/collective/collective.cover/tags","blobs_url":"https://api.github.com/repos/collective/collective.cover/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/collective/collective.cover/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/collective/collective.cover/git/refs{/sha}","trees_url":"https://api.github.com/repos/collective/collective.cover/git/trees{/sha}","statuses_url":"https://api.github.com/repos/collective/collective.cover/statuses/{sha}","languages_url":"https://api.github.com/repos/collective/collective.cover/languages","stargazers_url":"https://api.github.com/repos/collective/collective.cover/stargazers","contributors_url":"https://api.github.com/repos/collective/collective.cover/contributors","subscribers_url":"https://api.github.com/repos/collective/collective.cover/subscribers","subscription_url":"https://api.github.com/repos/collective/collective.cover/subscription","commits_url":"https://api.github.com/repos/collective/collective.cover/commits{/sha}","git_commits_url":"https://api.github.com/repos/collective/collective.cover/git/commits{/sha}","comments_url":"https://api.github.com/repos/collective/collective.cover/comments{/number}","issue_comment_url":"https://api.github.com/repos/collective/collective.cover/issues/comments{/number}","contents_url":"https://api.github.com/repos/collective/collective.cover/contents/{+path}","compare_url":"https://api.github.com/repos/collective/collective.cover/compare/{base}...{head}","merges_url":"https://api.github.com/repos/collective/collective.cover/merges","archive_url":"https://api.github.com/repos/collective/collective.cover/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/collective/collective.cover/downloads","issues_url":"https://api.github.com/repos/collective/collective.cover/issues{/number}","pulls_url":"https://api.github.com/repos/collective/collective.cover/pulls{/number}","milestones_url":"https://api.github.com/repos/collective/collective.cover/milestones{/number}","notifications_url":"https://api.github.com/repos/collective/collective.cover/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/collective/collective.cover/labels{/name}","releases_url":"https://api.github.com/repos/collective/collective.cover/releases{/id}","created_at":"2011-10-17T14:30:08Z","updated_at":"2015-04-01T21:12:16Z","pushed_at":"2015-04-10T03:44:40Z","git_url":"git://github.com/collective/collective.cover.git","ssh_url":"git@github.com:collective/collective.cover.git","clone_url":"https://github.com/collective/collective.cover.git","svn_url":"https://github.com/collective/collective.cover","homepage":"","size":10346,"stargazers_count":32,"watchers_count":32,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":47,"mirror_url":null,"open_issues_count":80,"forks":47,"open_issues":80,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/collective/collective.cover/pulls/501"},"html":{"href":"https://github.com/collective/collective.cover/pull/501"},"issue":{"href":"https://api.github.com/repos/collective/collective.cover/issues/501"},"comments":{"href":"https://api.github.com/repos/collective/collective.cover/issues/501/comments"},"review_comments":{"href":"https://api.github.com/repos/collective/collective.cover/pulls/501/comments"},"review_comment":{"href":"https://api.github.com/repos/collective/collective.cover/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/collective/collective.cover/pulls/501/commits"},"statuses":{"href":"https://api.github.com/repos/collective/collective.cover/statuses/65a1390ac1664892076e56d0edf6167980cd784f"}}}}