{"action":"created","issue":{"url":"https://api.github.com/repos/Islandora/islandora_solr_search/issues/260","labels_url":"https://api.github.com/repos/Islandora/islandora_solr_search/issues/260/labels{/name}","comments_url":"https://api.github.com/repos/Islandora/islandora_solr_search/issues/260/comments","events_url":"https://api.github.com/repos/Islandora/islandora_solr_search/issues/260/events","html_url":"https://github.com/Islandora/islandora_solr_search/pull/260","id":126047010,"number":260,"title":"Check solr type for either date or tdate. (ISLANDORA-1580)","user":{"login":"whikloj","id":2857697,"avatar_url":"https://avatars.githubusercontent.com/u/2857697?v=3","gravatar_id":"","url":"https://api.github.com/users/whikloj","html_url":"https://github.com/whikloj","followers_url":"https://api.github.com/users/whikloj/followers","following_url":"https://api.github.com/users/whikloj/following{/other_user}","gists_url":"https://api.github.com/users/whikloj/gists{/gist_id}","starred_url":"https://api.github.com/users/whikloj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whikloj/subscriptions","organizations_url":"https://api.github.com/users/whikloj/orgs","repos_url":"https://api.github.com/users/whikloj/repos","events_url":"https://api.github.com/users/whikloj/events{/privacy}","received_events_url":"https://api.github.com/users/whikloj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-01-11T22:01:17Z","updated_at":"2016-01-22T17:45:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Islandora/islandora_solr_search/pulls/260","html_url":"https://github.com/Islandora/islandora_solr_search/pull/260","diff_url":"https://github.com/Islandora/islandora_solr_search/pull/260.diff","patch_url":"https://github.com/Islandora/islandora_solr_search/pull/260.patch"},"body":"Addresses [ISLANDORA-1580](https://jira.duraspace.org/browse/ISLANDORA-1580)\r\n\r\n# What does this Pull Request do?\r\nChecks for both a **date** or **tdate** solr type when adding a new facet.\r\n\r\n# How should this be tested?\r\n## Prior to this Pull Request\r\n\r\nIn the Solr schema.xml field add a type using the solr.TrieDateField\r\n```\r\n<fieldType name=\"tdate\" class=\"solr.TrieDateField\" precisionStep=\"6\" positionIncrementGap=\"0\"/>\r\n```\r\nthen add (or change an existing DateField) to use this type\r\n```\r\n<dynamicField name=\"*_dt\" type=\"tdate\"    indexed=\"true\"  stored=\"true\"/>\r\n```\r\nIndex or re-index some documents. Then attempt to use this field as a facet in the Islandora Solr Settings page.\r\n\r\nYou will **not** see the **Range facet** checkbox when you add the new facet field.\r\n\r\n## With this Pull Request applied\r\nPerforming the above actions, you will see the **Range facet** checkbox the same as a normal DateField.\r\n"},"comment":{"url":"https://api.github.com/repos/Islandora/islandora_solr_search/issues/comments/173989828","html_url":"https://github.com/Islandora/islandora_solr_search/pull/260#issuecomment-173989828","issue_url":"https://api.github.com/repos/Islandora/islandora_solr_search/issues/260","id":173989828,"user":{"login":"jordandukart","id":1337738,"avatar_url":"https://avatars.githubusercontent.com/u/1337738?v=3","gravatar_id":"","url":"https://api.github.com/users/jordandukart","html_url":"https://github.com/jordandukart","followers_url":"https://api.github.com/users/jordandukart/followers","following_url":"https://api.github.com/users/jordandukart/following{/other_user}","gists_url":"https://api.github.com/users/jordandukart/gists{/gist_id}","starred_url":"https://api.github.com/users/jordandukart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordandukart/subscriptions","organizations_url":"https://api.github.com/users/jordandukart/orgs","repos_url":"https://api.github.com/users/jordandukart/repos","events_url":"https://api.github.com/users/jordandukart/events{/privacy}","received_events_url":"https://api.github.com/users/jordandukart/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T17:45:25Z","updated_at":"2016-01-22T17:45:25Z","body":"Looks fine to me."}}