{"action":"closed","number":1186,"pull_request":{"url":"https://api.github.com/repos/sul-dlss/SearchWorks/pulls/1186","id":58509845,"html_url":"https://github.com/sul-dlss/SearchWorks/pull/1186","diff_url":"https://github.com/sul-dlss/SearchWorks/pull/1186.diff","patch_url":"https://github.com/sul-dlss/SearchWorks/pull/1186.patch","issue_url":"https://api.github.com/repos/sul-dlss/SearchWorks/issues/1186","number":1186,"state":"closed","locked":false,"title":"Fix MODS date display in search result title","user":{"login":"ndushay","id":96775,"avatar_url":"https://avatars.githubusercontent.com/u/96775?v=3","gravatar_id":"","url":"https://api.github.com/users/ndushay","html_url":"https://github.com/ndushay","followers_url":"https://api.github.com/users/ndushay/followers","following_url":"https://api.github.com/users/ndushay/following{/other_user}","gists_url":"https://api.github.com/users/ndushay/gists{/gist_id}","starred_url":"https://api.github.com/users/ndushay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndushay/subscriptions","organizations_url":"https://api.github.com/users/ndushay/orgs","repos_url":"https://api.github.com/users/ndushay/repos","events_url":"https://api.github.com/users/ndushay/events{/privacy}","received_events_url":"https://api.github.com/users/ndushay/received_events","type":"User","site_admin":false},"body":"Connects to #1140  \r\nwhich will be finished when:\r\n- solrconfig change deployed to prod (sul-dlss/solrmarc-sw#123)\r\n- MODS data reindexed with sul-dlss/sw-indexer-service#52\r\n- This PR is deployed)\r\n\r\nAlso:\r\n- connects to sul-dlss/sw-indexer-service#43 (search results piece of index BCE dates for coin collection)\r\n- connects to sul-dlss/solrmarc-sw#111 (BCE dates for coin collection)\r\n- connects to sul-dlss/stanford-mods#56:  display part of adds B.C. to dates before year 0, adds A.D. to dates\r\n- connects to sul-dlss/stanford-mods#53:  display part of nice string for decades (1950s for 195u); nice string for centuries (18th century for 17uu)\r\n\r\n## Roman Coins (before)\r\n![1140 before](https://cloud.githubusercontent.com/assets/96775/12864326/1c0cd968-cc3c-11e5-9a87-8e56ddaa9f77.png)\r\n\r\n## Roman Coins (after)\r\n![1140 after](https://cloud.githubusercontent.com/assets/96775/12864327/21860270-cc3c-11e5-99e7-ef9ea847a3b3.png)\r\n\r\n## Papyri (before)\r\n![papyri dates before](https://cloud.githubusercontent.com/assets/96775/12864328/25accd70-cc3c-11e5-83fa-e96a058e9f27.png)\r\n\r\n## Papyri (after)\r\n![papyri dates after](https://cloud.githubusercontent.com/assets/96775/12864330/2fef4380-cc3c-11e5-8bcc-5f4c7c822347.png)\r\n","created_at":"2016-02-06T03:13:59Z","updated_at":"2016-02-09T19:22:50Z","closed_at":"2016-02-09T19:22:50Z","merged_at":"2016-02-09T19:22:50Z","merge_commit_sha":"475ad30d77c0ddffbaf99684c12597aef0deeaff","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sul-dlss/SearchWorks/pulls/1186/commits","review_comments_url":"https://api.github.com/repos/sul-dlss/SearchWorks/pulls/1186/comments","review_comment_url":"https://api.github.com/repos/sul-dlss/SearchWorks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sul-dlss/SearchWorks/issues/1186/comments","statuses_url":"https://api.github.com/repos/sul-dlss/SearchWorks/statuses/b5b1fd0f4c0a7175d0acf4d8982fa02d4c7e53ca","head":{"label":"sul-dlss:1140-mods-date-in-search-results","ref":"1140-mods-date-in-search-results","sha":"b5b1fd0f4c0a7175d0acf4d8982fa02d4c7e53ca","user":{"login":"sul-dlss","id":230583,"avatar_url":"https://avatars.githubusercontent.com/u/230583?v=3","gravatar_id":"","url":"https://api.github.com/users/sul-dlss","html_url":"https://github.com/sul-dlss","followers_url":"https://api.github.com/users/sul-dlss/followers","following_url":"https://api.github.com/users/sul-dlss/following{/other_user}","gists_url":"https://api.github.com/users/sul-dlss/gists{/gist_id}","starred_url":"https://api.github.com/users/sul-dlss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sul-dlss/subscriptions","organizations_url":"https://api.github.com/users/sul-dlss/orgs","repos_url":"https://api.github.com/users/sul-dlss/repos","events_url":"https://api.github.com/users/sul-dlss/events{/privacy}","received_events_url":"https://api.github.com/users/sul-dlss/received_events","type":"Organization","site_admin":false},"repo":{"id":19380542,"name":"SearchWorks","full_name":"sul-dlss/SearchWorks","owner":{"login":"sul-dlss","id":230583,"avatar_url":"https://avatars.githubusercontent.com/u/230583?v=3","gravatar_id":"","url":"https://api.github.com/users/sul-dlss","html_url":"https://github.com/sul-dlss","followers_url":"https://api.github.com/users/sul-dlss/followers","following_url":"https://api.github.com/users/sul-dlss/following{/other_user}","gists_url":"https://api.github.com/users/sul-dlss/gists{/gist_id}","starred_url":"https://api.github.com/users/sul-dlss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sul-dlss/subscriptions","organizations_url":"https://api.github.com/users/sul-dlss/orgs","repos_url":"https://api.github.com/users/sul-dlss/repos","events_url":"https://api.github.com/users/sul-dlss/events{/privacy}","received_events_url":"https://api.github.com/users/sul-dlss/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sul-dlss/SearchWorks","description":"SearchWorks (Stanford University Libraries)","fork":false,"url":"https://api.github.com/repos/sul-dlss/SearchWorks","forks_url":"https://api.github.com/repos/sul-dlss/SearchWorks/forks","keys_url":"https://api.github.com/repos/sul-dlss/SearchWorks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sul-dlss/SearchWorks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sul-dlss/SearchWorks/teams","hooks_url":"https://api.github.com/repos/sul-dlss/SearchWorks/hooks","issue_events_url":"https://api.github.com/repos/sul-dlss/SearchWorks/issues/events{/number}","events_url":"https://api.github.com/repos/sul-dlss/SearchWorks/events","assignees_url":"https://api.github.com/repos/sul-dlss/SearchWorks/assignees{/user}","branches_url":"https://api.github.com/repos/sul-dlss/SearchWorks/branches{/branch}","tags_url":"https://api.github.com/repos/sul-dlss/SearchWorks/tags","blobs_url":"https://api.github.com/repos/sul-dlss/SearchWorks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sul-dlss/SearchWorks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sul-dlss/SearchWorks/git/refs{/sha}","trees_url":"https://api.github.com/repos/sul-dlss/SearchWorks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sul-dlss/SearchWorks/statuses/{sha}","languages_url":"https://api.github.com/repos/sul-dlss/SearchWorks/languages","stargazers_url":"https://api.github.com/repos/sul-dlss/SearchWorks/stargazers","contributors_url":"https://api.github.com/repos/sul-dlss/SearchWorks/contributors","subscribers_url":"https://api.github.com/repos/sul-dlss/SearchWorks/subscribers","subscription_url":"https://api.github.com/repos/sul-dlss/SearchWorks/subscription","commits_url":"https://api.github.com/repos/sul-dlss/SearchWorks/commits{/sha}","git_commits_url":"https://api.github.com/repos/sul-dlss/SearchWorks/git/commits{/sha}","comments_url":"https://api.github.com/repos/sul-dlss/SearchWorks/comments{/number}","issue_comment_url":"https://api.github.com/repos/sul-dlss/SearchWorks/issues/comments{/number}","contents_url":"https://api.github.com/repos/sul-dlss/SearchWorks/contents/{+path}","compare_url":"https://api.github.com/repos/sul-dlss/SearchWorks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sul-dlss/SearchWorks/merges","archive_url":"https://api.github.com/repos/sul-dlss/SearchWorks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sul-dlss/SearchWorks/downloads","issues_url":"https://api.github.com/repos/sul-dlss/SearchWorks/issues{/number}","pulls_url":"https://api.github.com/repos/sul-dlss/SearchWorks/pulls{/number}","milestones_url":"https://api.github.com/repos/sul-dlss/SearchWorks/milestones{/number}","notifications_url":"https://api.github.com/repos/sul-dlss/SearchWorks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sul-dlss/SearchWorks/labels{/name}","releases_url":"https://api.github.com/repos/sul-dlss/SearchWorks/releases{/id}","deployments_url":"https://api.github.com/repos/sul-dlss/SearchWorks/deployments","created_at":"2014-05-02T16:08:20Z","updated_at":"2016-01-16T03:08:50Z","pushed_at":"2016-02-09T19:22:50Z","git_url":"git://github.com/sul-dlss/SearchWorks.git","ssh_url":"git@github.com:sul-dlss/SearchWorks.git","clone_url":"https://github.com/sul-dlss/SearchWorks.git","svn_url":"https://github.com/sul-dlss/SearchWorks","homepage":"http://searchworks.stanford.edu","size":3648,"stargazers_count":9,"watchers_count":9,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":104,"forks":3,"open_issues":104,"watchers":9,"default_branch":"master"}},"base":{"label":"sul-dlss:master","ref":"master","sha":"8044831da4a166f52e278a00daf66c6becebaa56","user":{"login":"sul-dlss","id":230583,"avatar_url":"https://avatars.githubusercontent.com/u/230583?v=3","gravatar_id":"","url":"https://api.github.com/users/sul-dlss","html_url":"https://github.com/sul-dlss","followers_url":"https://api.github.com/users/sul-dlss/followers","following_url":"https://api.github.com/users/sul-dlss/following{/other_user}","gists_url":"https://api.github.com/users/sul-dlss/gists{/gist_id}","starred_url":"https://api.github.com/users/sul-dlss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sul-dlss/subscriptions","organizations_url":"https://api.github.com/users/sul-dlss/orgs","repos_url":"https://api.github.com/users/sul-dlss/repos","events_url":"https://api.github.com/users/sul-dlss/events{/privacy}","received_events_url":"https://api.github.com/users/sul-dlss/received_events","type":"Organization","site_admin":false},"repo":{"id":19380542,"name":"SearchWorks","full_name":"sul-dlss/SearchWorks","owner":{"login":"sul-dlss","id":230583,"avatar_url":"https://avatars.githubusercontent.com/u/230583?v=3","gravatar_id":"","url":"https://api.github.com/users/sul-dlss","html_url":"https://github.com/sul-dlss","followers_url":"https://api.github.com/users/sul-dlss/followers","following_url":"https://api.github.com/users/sul-dlss/following{/other_user}","gists_url":"https://api.github.com/users/sul-dlss/gists{/gist_id}","starred_url":"https://api.github.com/users/sul-dlss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sul-dlss/subscriptions","organizations_url":"https://api.github.com/users/sul-dlss/orgs","repos_url":"https://api.github.com/users/sul-dlss/repos","events_url":"https://api.github.com/users/sul-dlss/events{/privacy}","received_events_url":"https://api.github.com/users/sul-dlss/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sul-dlss/SearchWorks","description":"SearchWorks (Stanford University Libraries)","fork":false,"url":"https://api.github.com/repos/sul-dlss/SearchWorks","forks_url":"https://api.github.com/repos/sul-dlss/SearchWorks/forks","keys_url":"https://api.github.com/repos/sul-dlss/SearchWorks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sul-dlss/SearchWorks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sul-dlss/SearchWorks/teams","hooks_url":"https://api.github.com/repos/sul-dlss/SearchWorks/hooks","issue_events_url":"https://api.github.com/repos/sul-dlss/SearchWorks/issues/events{/number}","events_url":"https://api.github.com/repos/sul-dlss/SearchWorks/events","assignees_url":"https://api.github.com/repos/sul-dlss/SearchWorks/assignees{/user}","branches_url":"https://api.github.com/repos/sul-dlss/SearchWorks/branches{/branch}","tags_url":"https://api.github.com/repos/sul-dlss/SearchWorks/tags","blobs_url":"https://api.github.com/repos/sul-dlss/SearchWorks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sul-dlss/SearchWorks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sul-dlss/SearchWorks/git/refs{/sha}","trees_url":"https://api.github.com/repos/sul-dlss/SearchWorks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sul-dlss/SearchWorks/statuses/{sha}","languages_url":"https://api.github.com/repos/sul-dlss/SearchWorks/languages","stargazers_url":"https://api.github.com/repos/sul-dlss/SearchWorks/stargazers","contributors_url":"https://api.github.com/repos/sul-dlss/SearchWorks/contributors","subscribers_url":"https://api.github.com/repos/sul-dlss/SearchWorks/subscribers","subscription_url":"https://api.github.com/repos/sul-dlss/SearchWorks/subscription","commits_url":"https://api.github.com/repos/sul-dlss/SearchWorks/commits{/sha}","git_commits_url":"https://api.github.com/repos/sul-dlss/SearchWorks/git/commits{/sha}","comments_url":"https://api.github.com/repos/sul-dlss/SearchWorks/comments{/number}","issue_comment_url":"https://api.github.com/repos/sul-dlss/SearchWorks/issues/comments{/number}","contents_url":"https://api.github.com/repos/sul-dlss/SearchWorks/contents/{+path}","compare_url":"https://api.github.com/repos/sul-dlss/SearchWorks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sul-dlss/SearchWorks/merges","archive_url":"https://api.github.com/repos/sul-dlss/SearchWorks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sul-dlss/SearchWorks/downloads","issues_url":"https://api.github.com/repos/sul-dlss/SearchWorks/issues{/number}","pulls_url":"https://api.github.com/repos/sul-dlss/SearchWorks/pulls{/number}","milestones_url":"https://api.github.com/repos/sul-dlss/SearchWorks/milestones{/number}","notifications_url":"https://api.github.com/repos/sul-dlss/SearchWorks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sul-dlss/SearchWorks/labels{/name}","releases_url":"https://api.github.com/repos/sul-dlss/SearchWorks/releases{/id}","deployments_url":"https://api.github.com/repos/sul-dlss/SearchWorks/deployments","created_at":"2014-05-02T16:08:20Z","updated_at":"2016-01-16T03:08:50Z","pushed_at":"2016-02-09T19:22:50Z","git_url":"git://github.com/sul-dlss/SearchWorks.git","ssh_url":"git@github.com:sul-dlss/SearchWorks.git","clone_url":"https://github.com/sul-dlss/SearchWorks.git","svn_url":"https://github.com/sul-dlss/SearchWorks","homepage":"http://searchworks.stanford.edu","size":3648,"stargazers_count":9,"watchers_count":9,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":104,"forks":3,"open_issues":104,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sul-dlss/SearchWorks/pulls/1186"},"html":{"href":"https://github.com/sul-dlss/SearchWorks/pull/1186"},"issue":{"href":"https://api.github.com/repos/sul-dlss/SearchWorks/issues/1186"},"comments":{"href":"https://api.github.com/repos/sul-dlss/SearchWorks/issues/1186/comments"},"review_comments":{"href":"https://api.github.com/repos/sul-dlss/SearchWorks/pulls/1186/comments"},"review_comment":{"href":"https://api.github.com/repos/sul-dlss/SearchWorks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sul-dlss/SearchWorks/pulls/1186/commits"},"statuses":{"href":"https://api.github.com/repos/sul-dlss/SearchWorks/statuses/b5b1fd0f4c0a7175d0acf4d8982fa02d4c7e53ca"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ndushay","id":96775,"avatar_url":"https://avatars.githubusercontent.com/u/96775?v=3","gravatar_id":"","url":"https://api.github.com/users/ndushay","html_url":"https://github.com/ndushay","followers_url":"https://api.github.com/users/ndushay/followers","following_url":"https://api.github.com/users/ndushay/following{/other_user}","gists_url":"https://api.github.com/users/ndushay/gists{/gist_id}","starred_url":"https://api.github.com/users/ndushay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndushay/subscriptions","organizations_url":"https://api.github.com/users/ndushay/orgs","repos_url":"https://api.github.com/users/ndushay/repos","events_url":"https://api.github.com/users/ndushay/events{/privacy}","received_events_url":"https://api.github.com/users/ndushay/received_events","type":"User","site_admin":false},"comments":5,"review_comments":1,"commits":1,"additions":15,"deletions":4,"changed_files":2}}