{"action":"opened","issue":{"url":"https://api.github.com/repos/CANTUS-Project/vitrail/issues/15","labels_url":"https://api.github.com/repos/CANTUS-Project/vitrail/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/CANTUS-Project/vitrail/issues/15/comments","events_url":"https://api.github.com/repos/CANTUS-Project/vitrail/issues/15/events","html_url":"https://github.com/CANTUS-Project/vitrail/issues/15","id":101204980,"number":15,"title":"Checkboxes for resource types","user":{"login":"crantila","id":760102,"avatar_url":"https://avatars.githubusercontent.com/u/760102?v=3","gravatar_id":"","url":"https://api.github.com/users/crantila","html_url":"https://github.com/crantila","followers_url":"https://api.github.com/users/crantila/followers","following_url":"https://api.github.com/users/crantila/following{/other_user}","gists_url":"https://api.github.com/users/crantila/gists{/gist_id}","starred_url":"https://api.github.com/users/crantila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crantila/subscriptions","organizations_url":"https://api.github.com/users/crantila/orgs","repos_url":"https://api.github.com/users/crantila/repos","events_url":"https://api.github.com/users/crantila/events{/privacy}","received_events_url":"https://api.github.com/users/crantila/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CANTUS-Project/vitrail/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"crantila","id":760102,"avatar_url":"https://avatars.githubusercontent.com/u/760102?v=3","gravatar_id":"","url":"https://api.github.com/users/crantila","html_url":"https://github.com/crantila","followers_url":"https://api.github.com/users/crantila/followers","following_url":"https://api.github.com/users/crantila/following{/other_user}","gists_url":"https://api.github.com/users/crantila/gists{/gist_id}","starred_url":"https://api.github.com/users/crantila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crantila/subscriptions","organizations_url":"https://api.github.com/users/crantila/orgs","repos_url":"https://api.github.com/users/crantila/repos","events_url":"https://api.github.com/users/crantila/events{/privacy}","received_events_url":"https://api.github.com/users/crantila/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/CANTUS-Project/vitrail/milestones/3","html_url":"https://github.com/CANTUS-Project/vitrail/milestones/v0.3.0","labels_url":"https://api.github.com/repos/CANTUS-Project/vitrail/milestones/3/labels","id":1249196,"number":3,"title":"v0.3.0","description":"When there's a tablet app that does all the basic functionality.","creator":{"login":"crantila","id":760102,"avatar_url":"https://avatars.githubusercontent.com/u/760102?v=3","gravatar_id":"","url":"https://api.github.com/users/crantila","html_url":"https://github.com/crantila","followers_url":"https://api.github.com/users/crantila/followers","following_url":"https://api.github.com/users/crantila/following{/other_user}","gists_url":"https://api.github.com/users/crantila/gists{/gist_id}","starred_url":"https://api.github.com/users/crantila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crantila/subscriptions","organizations_url":"https://api.github.com/users/crantila/orgs","repos_url":"https://api.github.com/users/crantila/repos","events_url":"https://api.github.com/users/crantila/events{/privacy}","received_events_url":"https://api.github.com/users/crantila/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2015-08-11T00:00:37Z","updated_at":"2015-08-15T19:54:26Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-08-15T19:54:26Z","updated_at":"2015-08-15T19:54:26Z","closed_at":null,"body":"Currently, the resource types to search are presented as radio buttons. You can either search for resources of a single type, or resources of all types. You could write a search query that restricts this, but it's not something users are likely to guess, and it *is* something I can do programmatically.\r\n\r\nSo here's what I'm thinking. When a user selects more than one resource type, we can prepend something like this to their search query: ``(type:chant OR type:feast) AND {user_query}``. When we submit this to Abbott with the \"any\" URL, the query that hits Solr will be something like ``type:* AND (type:chant OR type:feast) AND {user_query}``. It's a little clumsy, but it works."}}