{"action":"closed","number":6,"pull_request":{"url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/pulls/6","id":37339814,"html_url":"https://github.com/veda-consulting/org.civicrm.module.cividiscount/pull/6","diff_url":"https://github.com/veda-consulting/org.civicrm.module.cividiscount/pull/6.diff","patch_url":"https://github.com/veda-consulting/org.civicrm.module.cividiscount/pull/6.patch","issue_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/issues/6","number":6,"state":"closed","locked":false,"title":"Veda #313: break loop if no code is available when discounted page loads to display discount code text box","user":{"login":"Kajakaran","id":7429798,"avatar_url":"https://avatars.githubusercontent.com/u/7429798?v=3","gravatar_id":"","url":"https://api.github.com/users/Kajakaran","html_url":"https://github.com/Kajakaran","followers_url":"https://api.github.com/users/Kajakaran/followers","following_url":"https://api.github.com/users/Kajakaran/following{/other_user}","gists_url":"https://api.github.com/users/Kajakaran/gists{/gist_id}","starred_url":"https://api.github.com/users/Kajakaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kajakaran/subscriptions","organizations_url":"https://api.github.com/users/Kajakaran/orgs","repos_url":"https://api.github.com/users/Kajakaran/repos","events_url":"https://api.github.com/users/Kajakaran/events{/privacy}","received_events_url":"https://api.github.com/users/Kajakaran/received_events","type":"User","site_admin":false},"body":"issue: It takes so much time when a page, set up with discount, loads if there are so many discount codes\r\n\r\nfixes:\r\n\r\n1. This code was done by Anum Goel <agoel@backofficethinking.com>, pls look at veda ticket\r\n\r\n2.Tested with lots of discounted code (more than 1000s), efficiency improved on discount page loads\r\n","created_at":"2015-06-10T09:31:33Z","updated_at":"2015-06-10T16:58:38Z","closed_at":"2015-06-10T16:58:38Z","merged_at":"2015-06-10T16:58:38Z","merge_commit_sha":"ab5cd57fc4f124b7447636b37cd48ee400041d3d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/pulls/6/commits","review_comments_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/pulls/6/comments","review_comment_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/pulls/comments{/number}","comments_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/issues/6/comments","statuses_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/statuses/0c152c0abe7559b369081e73d61c007a25fda92c","head":{"label":"Kajakaran:staging","ref":"staging","sha":"0c152c0abe7559b369081e73d61c007a25fda92c","user":{"login":"Kajakaran","id":7429798,"avatar_url":"https://avatars.githubusercontent.com/u/7429798?v=3","gravatar_id":"","url":"https://api.github.com/users/Kajakaran","html_url":"https://github.com/Kajakaran","followers_url":"https://api.github.com/users/Kajakaran/followers","following_url":"https://api.github.com/users/Kajakaran/following{/other_user}","gists_url":"https://api.github.com/users/Kajakaran/gists{/gist_id}","starred_url":"https://api.github.com/users/Kajakaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kajakaran/subscriptions","organizations_url":"https://api.github.com/users/Kajakaran/orgs","repos_url":"https://api.github.com/users/Kajakaran/repos","events_url":"https://api.github.com/users/Kajakaran/events{/privacy}","received_events_url":"https://api.github.com/users/Kajakaran/received_events","type":"User","site_admin":false},"repo":{"id":34804837,"name":"org.civicrm.module.cividiscount","full_name":"Kajakaran/org.civicrm.module.cividiscount","owner":{"login":"Kajakaran","id":7429798,"avatar_url":"https://avatars.githubusercontent.com/u/7429798?v=3","gravatar_id":"","url":"https://api.github.com/users/Kajakaran","html_url":"https://github.com/Kajakaran","followers_url":"https://api.github.com/users/Kajakaran/followers","following_url":"https://api.github.com/users/Kajakaran/following{/other_user}","gists_url":"https://api.github.com/users/Kajakaran/gists{/gist_id}","starred_url":"https://api.github.com/users/Kajakaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kajakaran/subscriptions","organizations_url":"https://api.github.com/users/Kajakaran/orgs","repos_url":"https://api.github.com/users/Kajakaran/repos","events_url":"https://api.github.com/users/Kajakaran/events{/privacy}","received_events_url":"https://api.github.com/users/Kajakaran/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kajakaran/org.civicrm.module.cividiscount","description":"A discounting module for CiviCRM that can be used across Drupal 6/7, Joomla and WordPress","fork":true,"url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount","forks_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/forks","keys_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/teams","hooks_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/hooks","issue_events_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/issues/events{/number}","events_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/events","assignees_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/assignees{/user}","branches_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/branches{/branch}","tags_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/tags","blobs_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/statuses/{sha}","languages_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/languages","stargazers_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/stargazers","contributors_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/contributors","subscribers_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/subscribers","subscription_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/subscription","commits_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/contents/{+path}","compare_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/merges","archive_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/downloads","issues_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/issues{/number}","pulls_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/pulls{/number}","milestones_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/milestones{/number}","notifications_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/labels{/name}","releases_url":"https://api.github.com/repos/Kajakaran/org.civicrm.module.cividiscount/releases{/id}","created_at":"2015-04-29T16:26:18Z","updated_at":"2015-04-29T16:35:45Z","pushed_at":"2015-06-10T09:25:29Z","git_url":"git://github.com/Kajakaran/org.civicrm.module.cividiscount.git","ssh_url":"git@github.com:Kajakaran/org.civicrm.module.cividiscount.git","clone_url":"https://github.com/Kajakaran/org.civicrm.module.cividiscount.git","svn_url":"https://github.com/Kajakaran/org.civicrm.module.cividiscount","homepage":"http://civicrm.org/","size":667,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"veda-consulting:staging","ref":"staging","sha":"682f61220b599a39c34cb5419ecb2e6538446829","user":{"login":"veda-consulting","id":2448382,"avatar_url":"https://avatars.githubusercontent.com/u/2448382?v=3","gravatar_id":"","url":"https://api.github.com/users/veda-consulting","html_url":"https://github.com/veda-consulting","followers_url":"https://api.github.com/users/veda-consulting/followers","following_url":"https://api.github.com/users/veda-consulting/following{/other_user}","gists_url":"https://api.github.com/users/veda-consulting/gists{/gist_id}","starred_url":"https://api.github.com/users/veda-consulting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veda-consulting/subscriptions","organizations_url":"https://api.github.com/users/veda-consulting/orgs","repos_url":"https://api.github.com/users/veda-consulting/repos","events_url":"https://api.github.com/users/veda-consulting/events{/privacy}","received_events_url":"https://api.github.com/users/veda-consulting/received_events","type":"User","site_admin":false},"repo":{"id":34791590,"name":"org.civicrm.module.cividiscount","full_name":"veda-consulting/org.civicrm.module.cividiscount","owner":{"login":"veda-consulting","id":2448382,"avatar_url":"https://avatars.githubusercontent.com/u/2448382?v=3","gravatar_id":"","url":"https://api.github.com/users/veda-consulting","html_url":"https://github.com/veda-consulting","followers_url":"https://api.github.com/users/veda-consulting/followers","following_url":"https://api.github.com/users/veda-consulting/following{/other_user}","gists_url":"https://api.github.com/users/veda-consulting/gists{/gist_id}","starred_url":"https://api.github.com/users/veda-consulting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veda-consulting/subscriptions","organizations_url":"https://api.github.com/users/veda-consulting/orgs","repos_url":"https://api.github.com/users/veda-consulting/repos","events_url":"https://api.github.com/users/veda-consulting/events{/privacy}","received_events_url":"https://api.github.com/users/veda-consulting/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/veda-consulting/org.civicrm.module.cividiscount","description":"A discounting module for CiviCRM that can be used across Drupal 6/7, Joomla and WordPress","fork":true,"url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount","forks_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/forks","keys_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/keys{/key_id}","collaborators_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/teams","hooks_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/hooks","issue_events_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/issues/events{/number}","events_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/events","assignees_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/assignees{/user}","branches_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/branches{/branch}","tags_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/tags","blobs_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/git/refs{/sha}","trees_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/git/trees{/sha}","statuses_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/statuses/{sha}","languages_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/languages","stargazers_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/stargazers","contributors_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/contributors","subscribers_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/subscribers","subscription_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/subscription","commits_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/commits{/sha}","git_commits_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/git/commits{/sha}","comments_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/comments{/number}","issue_comment_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/issues/comments{/number}","contents_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/contents/{+path}","compare_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/compare/{base}...{head}","merges_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/merges","archive_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/downloads","issues_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/issues{/number}","pulls_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/pulls{/number}","milestones_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/milestones{/number}","notifications_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/labels{/name}","releases_url":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/releases{/id}","created_at":"2015-04-29T12:06:32Z","updated_at":"2015-04-29T17:29:55Z","pushed_at":"2015-06-10T16:58:38Z","git_url":"git://github.com/veda-consulting/org.civicrm.module.cividiscount.git","ssh_url":"git@github.com:veda-consulting/org.civicrm.module.cividiscount.git","clone_url":"https://github.com/veda-consulting/org.civicrm.module.cividiscount.git","svn_url":"https://github.com/veda-consulting/org.civicrm.module.cividiscount","homepage":"http://civicrm.org/","size":725,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/pulls/6"},"html":{"href":"https://github.com/veda-consulting/org.civicrm.module.cividiscount/pull/6"},"issue":{"href":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/issues/6"},"comments":{"href":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/veda-consulting/org.civicrm.module.cividiscount/statuses/0c152c0abe7559b369081e73d61c007a25fda92c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"deepak-srivastava","id":3448551,"avatar_url":"https://avatars.githubusercontent.com/u/3448551?v=3","gravatar_id":"","url":"https://api.github.com/users/deepak-srivastava","html_url":"https://github.com/deepak-srivastava","followers_url":"https://api.github.com/users/deepak-srivastava/followers","following_url":"https://api.github.com/users/deepak-srivastava/following{/other_user}","gists_url":"https://api.github.com/users/deepak-srivastava/gists{/gist_id}","starred_url":"https://api.github.com/users/deepak-srivastava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepak-srivastava/subscriptions","organizations_url":"https://api.github.com/users/deepak-srivastava/orgs","repos_url":"https://api.github.com/users/deepak-srivastava/repos","events_url":"https://api.github.com/users/deepak-srivastava/events{/privacy}","received_events_url":"https://api.github.com/users/deepak-srivastava/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":6,"deletions":0,"changed_files":1}}