{"action":"created","issue":{"url":"https://api.github.com/repos/tripal/tripal/issues/212","repository_url":"https://api.github.com/repos/tripal/tripal","labels_url":"https://api.github.com/repos/tripal/tripal/issues/212/labels{/name}","comments_url":"https://api.github.com/repos/tripal/tripal/issues/212/comments","events_url":"https://api.github.com/repos/tripal/tripal/issues/212/events","html_url":"https://github.com/tripal/tripal/issues/212","id":280225167,"number":212,"title":"Views/Chado DB table/Dropdown menu filter?","user":{"login":"srobb1","id":1072991,"avatar_url":"https://avatars0.githubusercontent.com/u/1072991?v=4","gravatar_id":"","url":"https://api.github.com/users/srobb1","html_url":"https://github.com/srobb1","followers_url":"https://api.github.com/users/srobb1/followers","following_url":"https://api.github.com/users/srobb1/following{/other_user}","gists_url":"https://api.github.com/users/srobb1/gists{/gist_id}","starred_url":"https://api.github.com/users/srobb1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srobb1/subscriptions","organizations_url":"https://api.github.com/users/srobb1/orgs","repos_url":"https://api.github.com/users/srobb1/repos","events_url":"https://api.github.com/users/srobb1/events{/privacy}","received_events_url":"https://api.github.com/users/srobb1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-12-07T18:05:06Z","updated_at":"2017-12-12T17:17:02Z","closed_at":null,"author_association":"MEMBER","body":"Hi. I hope this is any easy one.\r\n\r\nI have created a view that uses Chado DB Description in a filter. The drop down select is not available only the text box filter. Any ideas on how to get the drop down menu as an option? Other filters in this view allow me to have drop down menus. I checked out the views integration for the description field, \"views_handler_filter_string\" is selected.\r\n\r\nThank you,\r\nSofia\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tripal/tripal/issues/comments/351120573","html_url":"https://github.com/tripal/tripal/issues/212#issuecomment-351120573","issue_url":"https://api.github.com/repos/tripal/tripal/issues/212","id":351120573,"user":{"login":"laceysanderson","id":1566301,"avatar_url":"https://avatars3.githubusercontent.com/u/1566301?v=4","gravatar_id":"","url":"https://api.github.com/users/laceysanderson","html_url":"https://github.com/laceysanderson","followers_url":"https://api.github.com/users/laceysanderson/followers","following_url":"https://api.github.com/users/laceysanderson/following{/other_user}","gists_url":"https://api.github.com/users/laceysanderson/gists{/gist_id}","starred_url":"https://api.github.com/users/laceysanderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laceysanderson/subscriptions","organizations_url":"https://api.github.com/users/laceysanderson/orgs","repos_url":"https://api.github.com/users/laceysanderson/repos","events_url":"https://api.github.com/users/laceysanderson/events{/privacy}","received_events_url":"https://api.github.com/users/laceysanderson/received_events","type":"User","site_admin":false},"created_at":"2017-12-12T17:17:02Z","updated_at":"2017-12-12T17:17:02Z","author_association":"OWNER","body":"Hi Sofia,\r\n\r\nI assume this is for Tripal 2.x? If so, normally you would just need to create a new views integration for the db table that sets the views filter handler (2nd drop-down) for the description field to `tripal_views_handler_filter_select_string`. However, there is currently a bug in Tripal 2.x making this filter not an option (see #176) :-(. There is a fix mentioned but it requires editing core Tripal at the moment. I'll try to get to adding a patch...\r\n\r\n> I pointed out that \"tripal/tripal_views/includes/tripal_views_integration_UI.inc\" was missing those filters at line 1402.\r\n> $handlers[] = 'tripal_views_handler_filter_select_cvterm'; $handlers[] = 'tripal_views_handler_filter_select_string';\r\n> After patching the file and clearing the cache, I was able to select again those handlers and all went back to normal."}}
{"actor":{"display_login":"laceysanderson"}}