{"action":"created","comment":{"url":"https://api.github.com/repos/activerecord-hackery/ransack/pulls/comments/38026166","id":38026166,"diff_hunk":"@@ -213,6 +213,15 @@ The sort link may be displayed without the order indicator arrow by passing\n <%= sort_link(@q, :name, hide_indicator: true) %>\n ```\n \n+Alternatively, all sort links may be displayed without the order indicator arrow \n+by adding this to an initializer like `config/initializers/ransack.rb`:\n+\n+```ruby\n+Ransack.configure do |c|\n+  c.remove_search_order_indicators = true","path":"README.md","position":9,"original_position":9,"commit_id":"0c742418666257fe32f0f4edc550f412d75a2916","original_commit_id":"0c742418666257fe32f0f4edc550f412d75a2916","user":{"login":"jonatack","id":2415484,"avatar_url":"https://avatars.githubusercontent.com/u/2415484?v=3","gravatar_id":"","url":"https://api.github.com/users/jonatack","html_url":"https://github.com/jonatack","followers_url":"https://api.github.com/users/jonatack/followers","following_url":"https://api.github.com/users/jonatack/following{/other_user}","gists_url":"https://api.github.com/users/jonatack/gists{/gist_id}","starred_url":"https://api.github.com/users/jonatack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonatack/subscriptions","organizations_url":"https://api.github.com/users/jonatack/orgs","repos_url":"https://api.github.com/users/jonatack/repos","events_url":"https://api.github.com/users/jonatack/events{/privacy}","received_events_url":"https://api.github.com/users/jonatack/received_events","type":"User","site_admin":false},"body":"Perhaps should be updated to `c.hide_sort_order_indicators = true`?","created_at":"2015-08-26T19:46:47Z","updated_at":"2015-08-26T19:46:47Z","html_url":"https://github.com/activerecord-hackery/ransack/pull/577#discussion_r38026166","pull_request_url":"https://api.github.com/repos/activerecord-hackery/ransack/pulls/577","_links":{"self":{"href":"https://api.github.com/repos/activerecord-hackery/ransack/pulls/comments/38026166"},"html":{"href":"https://github.com/activerecord-hackery/ransack/pull/577#discussion_r38026166"},"pull_request":{"href":"https://api.github.com/repos/activerecord-hackery/ransack/pulls/577"}}},"pull_request":{"url":"https://api.github.com/repos/activerecord-hackery/ransack/pulls/577","id":43061093,"html_url":"https://github.com/activerecord-hackery/ransack/pull/577","diff_url":"https://github.com/activerecord-hackery/ransack/pull/577.diff","patch_url":"https://github.com/activerecord-hackery/ransack/pull/577.patch","issue_url":"https://api.github.com/repos/activerecord-hackery/ransack/issues/577","number":577,"state":"open","locked":false,"title":"add functionality to hide all search indicator arrows via config","user":{"login":"kalami","id":7599501,"avatar_url":"https://avatars.githubusercontent.com/u/7599501?v=3","gravatar_id":"","url":"https://api.github.com/users/kalami","html_url":"https://github.com/kalami","followers_url":"https://api.github.com/users/kalami/followers","following_url":"https://api.github.com/users/kalami/following{/other_user}","gists_url":"https://api.github.com/users/kalami/gists{/gist_id}","starred_url":"https://api.github.com/users/kalami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalami/subscriptions","organizations_url":"https://api.github.com/users/kalami/orgs","repos_url":"https://api.github.com/users/kalami/repos","events_url":"https://api.github.com/users/kalami/events{/privacy}","received_events_url":"https://api.github.com/users/kalami/received_events","type":"User","site_admin":false},"body":"config/initializer/ransack.rb\r\n\r\nRansack.configure do |c|\r\n  c.remove_search_order_indicators = true\r\nend\r\n\r\nThis is basically like passing 'hide_indicator: true' to all of your search indicators..without passing it to all of your search indicators.","created_at":"2015-08-21T17:27:27Z","updated_at":"2015-08-26T19:46:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"15f7acc8f68f517012073aeb8a11ad3376e9107f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/activerecord-hackery/ransack/pulls/577/commits","review_comments_url":"https://api.github.com/repos/activerecord-hackery/ransack/pulls/577/comments","review_comment_url":"https://api.github.com/repos/activerecord-hackery/ransack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/activerecord-hackery/ransack/issues/577/comments","statuses_url":"https://api.github.com/repos/activerecord-hackery/ransack/statuses/0c742418666257fe32f0f4edc550f412d75a2916","head":{"label":"kalami:hide_search_indicator_in_config","ref":"hide_search_indicator_in_config","sha":"0c742418666257fe32f0f4edc550f412d75a2916","user":{"login":"kalami","id":7599501,"avatar_url":"https://avatars.githubusercontent.com/u/7599501?v=3","gravatar_id":"","url":"https://api.github.com/users/kalami","html_url":"https://github.com/kalami","followers_url":"https://api.github.com/users/kalami/followers","following_url":"https://api.github.com/users/kalami/following{/other_user}","gists_url":"https://api.github.com/users/kalami/gists{/gist_id}","starred_url":"https://api.github.com/users/kalami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalami/subscriptions","organizations_url":"https://api.github.com/users/kalami/orgs","repos_url":"https://api.github.com/users/kalami/repos","events_url":"https://api.github.com/users/kalami/events{/privacy}","received_events_url":"https://api.github.com/users/kalami/received_events","type":"User","site_admin":false},"repo":{"id":41161296,"name":"ransack","full_name":"kalami/ransack","owner":{"login":"kalami","id":7599501,"avatar_url":"https://avatars.githubusercontent.com/u/7599501?v=3","gravatar_id":"","url":"https://api.github.com/users/kalami","html_url":"https://github.com/kalami","followers_url":"https://api.github.com/users/kalami/followers","following_url":"https://api.github.com/users/kalami/following{/other_user}","gists_url":"https://api.github.com/users/kalami/gists{/gist_id}","starred_url":"https://api.github.com/users/kalami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalami/subscriptions","organizations_url":"https://api.github.com/users/kalami/orgs","repos_url":"https://api.github.com/users/kalami/repos","events_url":"https://api.github.com/users/kalami/events{/privacy}","received_events_url":"https://api.github.com/users/kalami/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kalami/ransack","description":"Object-based searching. With maintenance by @radar and @jonatack!","fork":true,"url":"https://api.github.com/repos/kalami/ransack","forks_url":"https://api.github.com/repos/kalami/ransack/forks","keys_url":"https://api.github.com/repos/kalami/ransack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kalami/ransack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kalami/ransack/teams","hooks_url":"https://api.github.com/repos/kalami/ransack/hooks","issue_events_url":"https://api.github.com/repos/kalami/ransack/issues/events{/number}","events_url":"https://api.github.com/repos/kalami/ransack/events","assignees_url":"https://api.github.com/repos/kalami/ransack/assignees{/user}","branches_url":"https://api.github.com/repos/kalami/ransack/branches{/branch}","tags_url":"https://api.github.com/repos/kalami/ransack/tags","blobs_url":"https://api.github.com/repos/kalami/ransack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kalami/ransack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kalami/ransack/git/refs{/sha}","trees_url":"https://api.github.com/repos/kalami/ransack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kalami/ransack/statuses/{sha}","languages_url":"https://api.github.com/repos/kalami/ransack/languages","stargazers_url":"https://api.github.com/repos/kalami/ransack/stargazers","contributors_url":"https://api.github.com/repos/kalami/ransack/contributors","subscribers_url":"https://api.github.com/repos/kalami/ransack/subscribers","subscription_url":"https://api.github.com/repos/kalami/ransack/subscription","commits_url":"https://api.github.com/repos/kalami/ransack/commits{/sha}","git_commits_url":"https://api.github.com/repos/kalami/ransack/git/commits{/sha}","comments_url":"https://api.github.com/repos/kalami/ransack/comments{/number}","issue_comment_url":"https://api.github.com/repos/kalami/ransack/issues/comments{/number}","contents_url":"https://api.github.com/repos/kalami/ransack/contents/{+path}","compare_url":"https://api.github.com/repos/kalami/ransack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kalami/ransack/merges","archive_url":"https://api.github.com/repos/kalami/ransack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kalami/ransack/downloads","issues_url":"https://api.github.com/repos/kalami/ransack/issues{/number}","pulls_url":"https://api.github.com/repos/kalami/ransack/pulls{/number}","milestones_url":"https://api.github.com/repos/kalami/ransack/milestones{/number}","notifications_url":"https://api.github.com/repos/kalami/ransack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kalami/ransack/labels{/name}","releases_url":"https://api.github.com/repos/kalami/ransack/releases{/id}","created_at":"2015-08-21T14:48:52Z","updated_at":"2015-08-21T14:48:52Z","pushed_at":"2015-08-25T15:39:19Z","git_url":"git://github.com/kalami/ransack.git","ssh_url":"git@github.com:kalami/ransack.git","clone_url":"https://github.com/kalami/ransack.git","svn_url":"https://github.com/kalami/ransack","homepage":"http://ransack-demo.heroku.com","size":1397,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"activerecord-hackery:master","ref":"master","sha":"5dc3b6412424b59321d3cda9f1105df1c1d26dd0","user":{"login":"activerecord-hackery","id":5951504,"avatar_url":"https://avatars.githubusercontent.com/u/5951504?v=3","gravatar_id":"","url":"https://api.github.com/users/activerecord-hackery","html_url":"https://github.com/activerecord-hackery","followers_url":"https://api.github.com/users/activerecord-hackery/followers","following_url":"https://api.github.com/users/activerecord-hackery/following{/other_user}","gists_url":"https://api.github.com/users/activerecord-hackery/gists{/gist_id}","starred_url":"https://api.github.com/users/activerecord-hackery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/activerecord-hackery/subscriptions","organizations_url":"https://api.github.com/users/activerecord-hackery/orgs","repos_url":"https://api.github.com/users/activerecord-hackery/repos","events_url":"https://api.github.com/users/activerecord-hackery/events{/privacy}","received_events_url":"https://api.github.com/users/activerecord-hackery/received_events","type":"Organization","site_admin":false},"repo":{"id":1548802,"name":"ransack","full_name":"activerecord-hackery/ransack","owner":{"login":"activerecord-hackery","id":5951504,"avatar_url":"https://avatars.githubusercontent.com/u/5951504?v=3","gravatar_id":"","url":"https://api.github.com/users/activerecord-hackery","html_url":"https://github.com/activerecord-hackery","followers_url":"https://api.github.com/users/activerecord-hackery/followers","following_url":"https://api.github.com/users/activerecord-hackery/following{/other_user}","gists_url":"https://api.github.com/users/activerecord-hackery/gists{/gist_id}","starred_url":"https://api.github.com/users/activerecord-hackery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/activerecord-hackery/subscriptions","organizations_url":"https://api.github.com/users/activerecord-hackery/orgs","repos_url":"https://api.github.com/users/activerecord-hackery/repos","events_url":"https://api.github.com/users/activerecord-hackery/events{/privacy}","received_events_url":"https://api.github.com/users/activerecord-hackery/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/activerecord-hackery/ransack","description":"Object-based searching. With maintenance by @radar and @jonatack!","fork":false,"url":"https://api.github.com/repos/activerecord-hackery/ransack","forks_url":"https://api.github.com/repos/activerecord-hackery/ransack/forks","keys_url":"https://api.github.com/repos/activerecord-hackery/ransack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/activerecord-hackery/ransack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/activerecord-hackery/ransack/teams","hooks_url":"https://api.github.com/repos/activerecord-hackery/ransack/hooks","issue_events_url":"https://api.github.com/repos/activerecord-hackery/ransack/issues/events{/number}","events_url":"https://api.github.com/repos/activerecord-hackery/ransack/events","assignees_url":"https://api.github.com/repos/activerecord-hackery/ransack/assignees{/user}","branches_url":"https://api.github.com/repos/activerecord-hackery/ransack/branches{/branch}","tags_url":"https://api.github.com/repos/activerecord-hackery/ransack/tags","blobs_url":"https://api.github.com/repos/activerecord-hackery/ransack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/activerecord-hackery/ransack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/activerecord-hackery/ransack/git/refs{/sha}","trees_url":"https://api.github.com/repos/activerecord-hackery/ransack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/activerecord-hackery/ransack/statuses/{sha}","languages_url":"https://api.github.com/repos/activerecord-hackery/ransack/languages","stargazers_url":"https://api.github.com/repos/activerecord-hackery/ransack/stargazers","contributors_url":"https://api.github.com/repos/activerecord-hackery/ransack/contributors","subscribers_url":"https://api.github.com/repos/activerecord-hackery/ransack/subscribers","subscription_url":"https://api.github.com/repos/activerecord-hackery/ransack/subscription","commits_url":"https://api.github.com/repos/activerecord-hackery/ransack/commits{/sha}","git_commits_url":"https://api.github.com/repos/activerecord-hackery/ransack/git/commits{/sha}","comments_url":"https://api.github.com/repos/activerecord-hackery/ransack/comments{/number}","issue_comment_url":"https://api.github.com/repos/activerecord-hackery/ransack/issues/comments{/number}","contents_url":"https://api.github.com/repos/activerecord-hackery/ransack/contents/{+path}","compare_url":"https://api.github.com/repos/activerecord-hackery/ransack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/activerecord-hackery/ransack/merges","archive_url":"https://api.github.com/repos/activerecord-hackery/ransack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/activerecord-hackery/ransack/downloads","issues_url":"https://api.github.com/repos/activerecord-hackery/ransack/issues{/number}","pulls_url":"https://api.github.com/repos/activerecord-hackery/ransack/pulls{/number}","milestones_url":"https://api.github.com/repos/activerecord-hackery/ransack/milestones{/number}","notifications_url":"https://api.github.com/repos/activerecord-hackery/ransack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/activerecord-hackery/ransack/labels{/name}","releases_url":"https://api.github.com/repos/activerecord-hackery/ransack/releases{/id}","created_at":"2011-03-31T00:34:25Z","updated_at":"2015-08-24T01:57:39Z","pushed_at":"2015-08-25T15:39:20Z","git_url":"git://github.com/activerecord-hackery/ransack.git","ssh_url":"git@github.com:activerecord-hackery/ransack.git","clone_url":"https://github.com/activerecord-hackery/ransack.git","svn_url":"https://github.com/activerecord-hackery/ransack","homepage":"http://ransack-demo.heroku.com","size":4204,"stargazers_count":2266,"watchers_count":2266,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":368,"mirror_url":null,"open_issues_count":69,"forks":368,"open_issues":69,"watchers":2266,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/activerecord-hackery/ransack/pulls/577"},"html":{"href":"https://github.com/activerecord-hackery/ransack/pull/577"},"issue":{"href":"https://api.github.com/repos/activerecord-hackery/ransack/issues/577"},"comments":{"href":"https://api.github.com/repos/activerecord-hackery/ransack/issues/577/comments"},"review_comments":{"href":"https://api.github.com/repos/activerecord-hackery/ransack/pulls/577/comments"},"review_comment":{"href":"https://api.github.com/repos/activerecord-hackery/ransack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/activerecord-hackery/ransack/pulls/577/commits"},"statuses":{"href":"https://api.github.com/repos/activerecord-hackery/ransack/statuses/0c742418666257fe32f0f4edc550f412d75a2916"}}}}