{"action":"closed","number":7713,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/7713","id":42567484,"html_url":"https://github.com/joomla/joomla-cms/pull/7713","diff_url":"https://github.com/joomla/joomla-cms/pull/7713.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/7713.patch","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/7713","number":7713,"state":"closed","locked":false,"title":"com_categories - remove duplicate ordering option","user":{"login":"pe7er","id":1217850,"avatar_url":"https://avatars.githubusercontent.com/u/1217850?v=3","gravatar_id":"","url":"https://api.github.com/users/pe7er","html_url":"https://github.com/pe7er","followers_url":"https://api.github.com/users/pe7er/followers","following_url":"https://api.github.com/users/pe7er/following{/other_user}","gists_url":"https://api.github.com/users/pe7er/gists{/gist_id}","starred_url":"https://api.github.com/users/pe7er/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pe7er/subscriptions","organizations_url":"https://api.github.com/users/pe7er/orgs","repos_url":"https://api.github.com/users/pe7er/repos","events_url":"https://api.github.com/users/pe7er/events{/privacy}","received_events_url":"https://api.github.com/users/pe7er/received_events","type":"User","site_admin":false},"body":"This PR is similar to PR #7712\r\n\r\nThe **Categories** list view has two ordering options:\r\n1. You can **order the list** of Article or Featured Article items on any column **by clicking on the column heading** (Status, Title, Access, Author, Language, Date, Hits, ID). You can reverse the order direction by clicking a second time on the same column heading.\r\n2. Another way to **order the list** is to click the **Sort Table By: dropdown option**. However that name is never visible there. The list is already ordered by default and the default ordering option is: \"**Ordering ascending**\". \r\n\r\nIMHO option 2 **Sort Table By: dropdown option is not very user friendly** for new users. The \"**Ordering ascending**\" option is confusing. And for experienced users it's another option to focus on. And because **all ordering options** are already **available via column headers** (option 1), I decided to create this PR **to remove the duplicate ordering dropdown option**\r\n\r\n# Testing instructions\r\n## Before the PR\r\n### Content > **Categories**\r\nThe list of Articles can be ordered by clicking on column headers, \r\nand by clicking on the \"Sort Table By\" dropdown option on the top right.\r\n\r\n![categories-remove-duplicate-ordering](https://cloud.githubusercontent.com/assets/1217850/9301561/a8f76d88-44cf-11e5-81ef-9f7902d4baf2.png)\r\n\r\n## After the PR\r\n### Content > **Categories**\r\nThe list of Articles can be ordered by clicking on column headers. The duplicate \"Sort Table By\" dropdown has been removed and the user has one option less too focus on.\r\n\r\n![categories-remove-duplicate-ordering-after](https://cloud.githubusercontent.com/assets/1217850/9301560/a8f6dd6e-44cf-11e5-99c6-e6f48a6d2108.png)\r\n\r\n\r\n### Note that com_categories is used by other components!\r\nBanners, Contacts, Newsfeeds (and the removed component Weblinks) all use com_categories to manage the categories for their items. After installing this PR the duplicate option should be removed for those components as well.\r\nFor example the Category view of the Banners Component:\r\n### Components > Banners > Categories\r\n#### Before PR\r\n![categories-banners-remove-duplicate-ordering](https://cloud.githubusercontent.com/assets/1217850/9301562/a8f9f58a-44cf-11e5-8bad-a2b85c27f40b.png)\r\n\r\n#### After PR\r\n![categories-banners-remove-duplicate-ordering-after](https://cloud.githubusercontent.com/assets/1217850/9301559/a8f584aa-44cf-11e5-96b1-408717600166.png)\r\n","created_at":"2015-08-17T09:10:16Z","updated_at":"2015-09-02T09:13:36Z","closed_at":"2015-09-02T09:13:36Z","merged_at":null,"merge_commit_sha":"ea5cb687a190ac906b080f40cc52ed87374cd1c5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/joomla/joomla-cms/pulls/7713/commits","review_comments_url":"https://api.github.com/repos/joomla/joomla-cms/pulls/7713/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/7713/comments","statuses_url":"https://api.github.com/repos/joomla/joomla-cms/statuses/76c13f5822395c0bdd7da187ee734da9dd35bd83","head":{"label":"pe7er:categories-remove-duplicate-ordering","ref":"categories-remove-duplicate-ordering","sha":"76c13f5822395c0bdd7da187ee734da9dd35bd83","user":{"login":"pe7er","id":1217850,"avatar_url":"https://avatars.githubusercontent.com/u/1217850?v=3","gravatar_id":"","url":"https://api.github.com/users/pe7er","html_url":"https://github.com/pe7er","followers_url":"https://api.github.com/users/pe7er/followers","following_url":"https://api.github.com/users/pe7er/following{/other_user}","gists_url":"https://api.github.com/users/pe7er/gists{/gist_id}","starred_url":"https://api.github.com/users/pe7er/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pe7er/subscriptions","organizations_url":"https://api.github.com/users/pe7er/orgs","repos_url":"https://api.github.com/users/pe7er/repos","events_url":"https://api.github.com/users/pe7er/events{/privacy}","received_events_url":"https://api.github.com/users/pe7er/received_events","type":"User","site_admin":false},"repo":{"id":28199796,"name":"joomla-cms","full_name":"pe7er/joomla-cms","owner":{"login":"pe7er","id":1217850,"avatar_url":"https://avatars.githubusercontent.com/u/1217850?v=3","gravatar_id":"","url":"https://api.github.com/users/pe7er","html_url":"https://github.com/pe7er","followers_url":"https://api.github.com/users/pe7er/followers","following_url":"https://api.github.com/users/pe7er/following{/other_user}","gists_url":"https://api.github.com/users/pe7er/gists{/gist_id}","starred_url":"https://api.github.com/users/pe7er/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pe7er/subscriptions","organizations_url":"https://api.github.com/users/pe7er/orgs","repos_url":"https://api.github.com/users/pe7er/repos","events_url":"https://api.github.com/users/pe7er/events{/privacy}","received_events_url":"https://api.github.com/users/pe7er/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pe7er/joomla-cms","description":"Home of the Joomla! Content Management System","fork":true,"url":"https://api.github.com/repos/pe7er/joomla-cms","forks_url":"https://api.github.com/repos/pe7er/joomla-cms/forks","keys_url":"https://api.github.com/repos/pe7er/joomla-cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pe7er/joomla-cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pe7er/joomla-cms/teams","hooks_url":"https://api.github.com/repos/pe7er/joomla-cms/hooks","issue_events_url":"https://api.github.com/repos/pe7er/joomla-cms/issues/events{/number}","events_url":"https://api.github.com/repos/pe7er/joomla-cms/events","assignees_url":"https://api.github.com/repos/pe7er/joomla-cms/assignees{/user}","branches_url":"https://api.github.com/repos/pe7er/joomla-cms/branches{/branch}","tags_url":"https://api.github.com/repos/pe7er/joomla-cms/tags","blobs_url":"https://api.github.com/repos/pe7er/joomla-cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pe7er/joomla-cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pe7er/joomla-cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/pe7er/joomla-cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pe7er/joomla-cms/statuses/{sha}","languages_url":"https://api.github.com/repos/pe7er/joomla-cms/languages","stargazers_url":"https://api.github.com/repos/pe7er/joomla-cms/stargazers","contributors_url":"https://api.github.com/repos/pe7er/joomla-cms/contributors","subscribers_url":"https://api.github.com/repos/pe7er/joomla-cms/subscribers","subscription_url":"https://api.github.com/repos/pe7er/joomla-cms/subscription","commits_url":"https://api.github.com/repos/pe7er/joomla-cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/pe7er/joomla-cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/pe7er/joomla-cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/pe7er/joomla-cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/pe7er/joomla-cms/contents/{+path}","compare_url":"https://api.github.com/repos/pe7er/joomla-cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pe7er/joomla-cms/merges","archive_url":"https://api.github.com/repos/pe7er/joomla-cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pe7er/joomla-cms/downloads","issues_url":"https://api.github.com/repos/pe7er/joomla-cms/issues{/number}","pulls_url":"https://api.github.com/repos/pe7er/joomla-cms/pulls{/number}","milestones_url":"https://api.github.com/repos/pe7er/joomla-cms/milestones{/number}","notifications_url":"https://api.github.com/repos/pe7er/joomla-cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pe7er/joomla-cms/labels{/name}","releases_url":"https://api.github.com/repos/pe7er/joomla-cms/releases{/id}","created_at":"2014-12-18T20:13:44Z","updated_at":"2015-04-21T13:07:16Z","pushed_at":"2015-08-31T15:00:29Z","git_url":"git://github.com/pe7er/joomla-cms.git","ssh_url":"git@github.com:pe7er/joomla-cms.git","clone_url":"https://github.com/pe7er/joomla-cms.git","svn_url":"https://github.com/pe7er/joomla-cms","homepage":"http://joomla.org","size":133737,"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":"9ebbb792f2017d1728c5960014cbfddddf2f33d5","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}","created_at":"2011-09-27T02:07:38Z","updated_at":"2015-09-01T13:29:57Z","pushed_at":"2015-09-02T08:19:12Z","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":"http://joomla.org","size":337143,"stargazers_count":1635,"watchers_count":1635,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1837,"mirror_url":null,"open_issues_count":544,"forks":1837,"open_issues":544,"watchers":1635,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/7713"},"html":{"href":"https://github.com/joomla/joomla-cms/pull/7713"},"issue":{"href":"https://api.github.com/repos/joomla/joomla-cms/issues/7713"},"comments":{"href":"https://api.github.com/repos/joomla/joomla-cms/issues/7713/comments"},"review_comments":{"href":"https://api.github.com/repos/joomla/joomla-cms/pulls/7713/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/7713/commits"},"statuses":{"href":"https://api.github.com/repos/joomla/joomla-cms/statuses/76c13f5822395c0bdd7da187ee734da9dd35bd83"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":4,"review_comments":0,"commits":1,"additions":0,"deletions":23,"changed_files":1}}