{"action":"opened","number":10137,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/10137","id":68462154,"html_url":"https://github.com/joomla/joomla-cms/pull/10137","diff_url":"https://github.com/joomla/joomla-cms/pull/10137.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/10137.patch","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/10137","number":10137,"state":"open","locked":false,"title":"Create a Last Visit Date filter on the user list","user":{"login":"roland-d","id":359377,"avatar_url":"https://avatars.githubusercontent.com/u/359377?v=3","gravatar_id":"","url":"https://api.github.com/users/roland-d","html_url":"https://github.com/roland-d","followers_url":"https://api.github.com/users/roland-d/followers","following_url":"https://api.github.com/users/roland-d/following{/other_user}","gists_url":"https://api.github.com/users/roland-d/gists{/gist_id}","starred_url":"https://api.github.com/users/roland-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roland-d/subscriptions","organizations_url":"https://api.github.com/users/roland-d/orgs","repos_url":"https://api.github.com/users/roland-d/repos","events_url":"https://api.github.com/users/roland-d/events{/privacy}","received_events_url":"https://api.github.com/users/roland-d/received_events","type":"User","site_admin":false},"body":"#### Summary of Changes\r\nThe user list has a number of filters, one of them is the registration date. However I think that the last visit date is more useful as it can show when a user last came to the site. If that is too long ago the user account may be considered obsolete. So this PR adds a filter for the last visit date.\r\n\r\n#### Testing Instructions\r\n1. Go to Users -> Manage\r\n2. Click on Search Tools, you will see these filters:\r\n![image](https://cloud.githubusercontent.com/assets/359377/14934726/c5be4350-0eba-11e6-9715-f6d5ad97d96f.png)\r\n3. Apply the patch\r\n4. Go to Users -> Manage\r\n5. Click on Search Tools, you will see these filters:\r\n![image](https://cloud.githubusercontent.com/assets/359377/14934733/f442e5f0-0eba-11e6-8b10-7ebca85976ec.png)\r\n6. You now have a filter for the Last Visit Date\r\n7. Check if the filter works as expected.\r\n\r\n","created_at":"2016-04-30T08:21:57Z","updated_at":"2016-04-30T08:21:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":{"url":"https://api.github.com/repos/joomla/joomla-cms/milestones/12","html_url":"https://github.com/joomla/joomla-cms/milestones/Joomla!%203.6.0","labels_url":"https://api.github.com/repos/joomla/joomla-cms/milestones/12/labels","id":1360635,"number":12,"title":"Joomla! 3.6.0","description":"","creator":{"login":"roland-d","id":359377,"avatar_url":"https://avatars.githubusercontent.com/u/359377?v=3","gravatar_id":"","url":"https://api.github.com/users/roland-d","html_url":"https://github.com/roland-d","followers_url":"https://api.github.com/users/roland-d/followers","following_url":"https://api.github.com/users/roland-d/following{/other_user}","gists_url":"https://api.github.com/users/roland-d/gists{/gist_id}","starred_url":"https://api.github.com/users/roland-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roland-d/subscriptions","organizations_url":"https://api.github.com/users/roland-d/orgs","repos_url":"https://api.github.com/users/roland-d/repos","events_url":"https://api.github.com/users/roland-d/events{/privacy}","received_events_url":"https://api.github.com/users/roland-d/received_events","type":"User","site_admin":false},"open_issues":43,"closed_issues":16,"state":"open","created_at":"2015-10-17T07:57:38Z","updated_at":"2016-04-30T08:21:57Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/joomla/joomla-cms/pulls/10137/commits","review_comments_url":"https://api.github.com/repos/joomla/joomla-cms/pulls/10137/comments","review_comment_url":"https://api.github.com/repos/joomla/joomla-cms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/10137/comments","statuses_url":"https://api.github.com/repos/joomla/joomla-cms/statuses/060fd4e14df1a2131b30756a2d1705f942c77e8e","head":{"label":"roland-d:add-lastvisitdate-to-userlist","ref":"add-lastvisitdate-to-userlist","sha":"060fd4e14df1a2131b30756a2d1705f942c77e8e","user":{"login":"roland-d","id":359377,"avatar_url":"https://avatars.githubusercontent.com/u/359377?v=3","gravatar_id":"","url":"https://api.github.com/users/roland-d","html_url":"https://github.com/roland-d","followers_url":"https://api.github.com/users/roland-d/followers","following_url":"https://api.github.com/users/roland-d/following{/other_user}","gists_url":"https://api.github.com/users/roland-d/gists{/gist_id}","starred_url":"https://api.github.com/users/roland-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roland-d/subscriptions","organizations_url":"https://api.github.com/users/roland-d/orgs","repos_url":"https://api.github.com/users/roland-d/repos","events_url":"https://api.github.com/users/roland-d/events{/privacy}","received_events_url":"https://api.github.com/users/roland-d/received_events","type":"User","site_admin":false},"repo":{"id":19659596,"name":"joomla-cms","full_name":"roland-d/joomla-cms","owner":{"login":"roland-d","id":359377,"avatar_url":"https://avatars.githubusercontent.com/u/359377?v=3","gravatar_id":"","url":"https://api.github.com/users/roland-d","html_url":"https://github.com/roland-d","followers_url":"https://api.github.com/users/roland-d/followers","following_url":"https://api.github.com/users/roland-d/following{/other_user}","gists_url":"https://api.github.com/users/roland-d/gists{/gist_id}","starred_url":"https://api.github.com/users/roland-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roland-d/subscriptions","organizations_url":"https://api.github.com/users/roland-d/orgs","repos_url":"https://api.github.com/users/roland-d/repos","events_url":"https://api.github.com/users/roland-d/events{/privacy}","received_events_url":"https://api.github.com/users/roland-d/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/roland-d/joomla-cms","description":"Home of the Joomla! Content Management System","fork":true,"url":"https://api.github.com/repos/roland-d/joomla-cms","forks_url":"https://api.github.com/repos/roland-d/joomla-cms/forks","keys_url":"https://api.github.com/repos/roland-d/joomla-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/roland-d/joomla-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/roland-d/joomla-cms/teams","hooks_url":"https://api.github.com/repos/roland-d/joomla-cms/hooks","issue_events_url":"https://api.github.com/repos/roland-d/joomla-cms/issues/events{/number}","events_url":"https://api.github.com/repos/roland-d/joomla-cms/events","assignees_url":"https://api.github.com/repos/roland-d/joomla-cms/assignees{/user}","branches_url":"https://api.github.com/repos/roland-d/joomla-cms/branches{/branch}","tags_url":"https://api.github.com/repos/roland-d/joomla-cms/tags","blobs_url":"https://api.github.com/repos/roland-d/joomla-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/roland-d/joomla-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/roland-d/joomla-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/roland-d/joomla-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/roland-d/joomla-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/roland-d/joomla-cms/languages","stargazers_url":"https://api.github.com/repos/roland-d/joomla-cms/stargazers","contributors_url":"https://api.github.com/repos/roland-d/joomla-cms/contributors","subscribers_url":"https://api.github.com/repos/roland-d/joomla-cms/subscribers","subscription_url":"https://api.github.com/repos/roland-d/joomla-cms/subscription","commits_url":"https://api.github.com/repos/roland-d/joomla-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/roland-d/joomla-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/roland-d/joomla-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/roland-d/joomla-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/roland-d/joomla-cms/contents/{+path}","compare_url":"https://api.github.com/repos/roland-d/joomla-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/roland-d/joomla-cms/merges","archive_url":"https://api.github.com/repos/roland-d/joomla-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/roland-d/joomla-cms/downloads","issues_url":"https://api.github.com/repos/roland-d/joomla-cms/issues{/number}","pulls_url":"https://api.github.com/repos/roland-d/joomla-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/roland-d/joomla-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/roland-d/joomla-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/roland-d/joomla-cms/labels{/name}","releases_url":"https://api.github.com/repos/roland-d/joomla-cms/releases{/id}","deployments_url":"https://api.github.com/repos/roland-d/joomla-cms/deployments","created_at":"2014-05-11T05:52:36Z","updated_at":"2016-01-15T22:35:17Z","pushed_at":"2016-04-30T08:21:53Z","git_url":"git://github.com/roland-d/joomla-cms.git","ssh_url":"git@github.com:roland-d/joomla-cms.git","clone_url":"https://github.com/roland-d/joomla-cms.git","svn_url":"https://github.com/roland-d/joomla-cms","homepage":"http://joomla.org","size":145191,"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":"staging"}},"base":{"label":"joomla:staging","ref":"staging","sha":"dcb753e7d2bd2f2d0fdef9e11418584eda31e2e5","user":{"login":"joomla","id":751633,"avatar_url":"https://avatars.githubusercontent.com/u/751633?v=3","gravatar_id":"","url":"https://api.github.com/users/joomla","html_url":"https://github.com/joomla","followers_url":"https://api.github.com/users/joomla/followers","following_url":"https://api.github.com/users/joomla/following{/other_user}","gists_url":"https://api.github.com/users/joomla/gists{/gist_id}","starred_url":"https://api.github.com/users/joomla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joomla/subscriptions","organizations_url":"https://api.github.com/users/joomla/orgs","repos_url":"https://api.github.com/users/joomla/repos","events_url":"https://api.github.com/users/joomla/events{/privacy}","received_events_url":"https://api.github.com/users/joomla/received_events","type":"Organization","site_admin":false},"repo":{"id":2464908,"name":"joomla-cms","full_name":"joomla/joomla-cms","owner":{"login":"joomla","id":751633,"avatar_url":"https://avatars.githubusercontent.com/u/751633?v=3","gravatar_id":"","url":"https://api.github.com/users/joomla","html_url":"https://github.com/joomla","followers_url":"https://api.github.com/users/joomla/followers","following_url":"https://api.github.com/users/joomla/following{/other_user}","gists_url":"https://api.github.com/users/joomla/gists{/gist_id}","starred_url":"https://api.github.com/users/joomla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joomla/subscriptions","organizations_url":"https://api.github.com/users/joomla/orgs","repos_url":"https://api.github.com/users/joomla/repos","events_url":"https://api.github.com/users/joomla/events{/privacy}","received_events_url":"https://api.github.com/users/joomla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/joomla/joomla-cms","description":"Home of the Joomla! Content Management System","fork":false,"url":"https://api.github.com/repos/joomla/joomla-cms","forks_url":"https://api.github.com/repos/joomla/joomla-cms/forks","keys_url":"https://api.github.com/repos/joomla/joomla-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joomla/joomla-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joomla/joomla-cms/teams","hooks_url":"https://api.github.com/repos/joomla/joomla-cms/hooks","issue_events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/events{/number}","events_url":"https://api.github.com/repos/joomla/joomla-cms/events","assignees_url":"https://api.github.com/repos/joomla/joomla-cms/assignees{/user}","branches_url":"https://api.github.com/repos/joomla/joomla-cms/branches{/branch}","tags_url":"https://api.github.com/repos/joomla/joomla-cms/tags","blobs_url":"https://api.github.com/repos/joomla/joomla-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joomla/joomla-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joomla/joomla-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/joomla/joomla-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joomla/joomla-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/joomla/joomla-cms/languages","stargazers_url":"https://api.github.com/repos/joomla/joomla-cms/stargazers","contributors_url":"https://api.github.com/repos/joomla/joomla-cms/contributors","subscribers_url":"https://api.github.com/repos/joomla/joomla-cms/subscribers","subscription_url":"https://api.github.com/repos/joomla/joomla-cms/subscription","commits_url":"https://api.github.com/repos/joomla/joomla-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/joomla/joomla-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/joomla/joomla-cms/contents/{+path}","compare_url":"https://api.github.com/repos/joomla/joomla-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joomla/joomla-cms/merges","archive_url":"https://api.github.com/repos/joomla/joomla-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joomla/joomla-cms/downloads","issues_url":"https://api.github.com/repos/joomla/joomla-cms/issues{/number}","pulls_url":"https://api.github.com/repos/joomla/joomla-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/joomla/joomla-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/joomla/joomla-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joomla/joomla-cms/labels{/name}","releases_url":"https://api.github.com/repos/joomla/joomla-cms/releases{/id}","deployments_url":"https://api.github.com/repos/joomla/joomla-cms/deployments","created_at":"2011-09-27T02:07:38Z","updated_at":"2016-04-30T02:21:10Z","pushed_at":"2016-04-30T07:51:45Z","git_url":"git://github.com/joomla/joomla-cms.git","ssh_url":"git@github.com:joomla/joomla-cms.git","clone_url":"https://github.com/joomla/joomla-cms.git","svn_url":"https://github.com/joomla/joomla-cms","homepage":"https://www.joomla.org","size":274144,"stargazers_count":1997,"watchers_count":1997,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2157,"mirror_url":null,"open_issues_count":611,"forks":2157,"open_issues":611,"watchers":1997,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/10137"},"html":{"href":"https://github.com/joomla/joomla-cms/pull/10137"},"issue":{"href":"https://api.github.com/repos/joomla/joomla-cms/issues/10137"},"comments":{"href":"https://api.github.com/repos/joomla/joomla-cms/issues/10137/comments"},"review_comments":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/10137/comments"},"review_comment":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/10137/commits"},"statuses":{"href":"https://api.github.com/repos/joomla/joomla-cms/statuses/060fd4e14df1a2131b30756a2d1705f942c77e8e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":152,"deletions":42,"changed_files":5}}