{"action":"created","issue":{"url":"https://api.github.com/repos/VertNet/dwc-indexer/issues/30","labels_url":"https://api.github.com/repos/VertNet/dwc-indexer/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/VertNet/dwc-indexer/issues/30/comments","events_url":"https://api.github.com/repos/VertNet/dwc-indexer/issues/30/events","html_url":"https://github.com/VertNet/dwc-indexer/issues/30","id":52386947,"number":30,"title":"Amend slugify in utils.py","user":{"login":"tucotuco","id":462827,"avatar_url":"https://avatars.githubusercontent.com/u/462827?v=3","gravatar_id":"","url":"https://api.github.com/users/tucotuco","html_url":"https://github.com/tucotuco","followers_url":"https://api.github.com/users/tucotuco/followers","following_url":"https://api.github.com/users/tucotuco/following{/other_user}","gists_url":"https://api.github.com/users/tucotuco/gists{/gist_id}","starred_url":"https://api.github.com/users/tucotuco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tucotuco/subscriptions","organizations_url":"https://api.github.com/users/tucotuco/orgs","repos_url":"https://api.github.com/users/tucotuco/repos","events_url":"https://api.github.com/users/tucotuco/events{/privacy}","received_events_url":"https://api.github.com/users/tucotuco/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/VertNet/dwc-indexer/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/VertNet/dwc-indexer/labels/priority","name":"priority","color":"eb6420"}],"state":"closed","locked":false,"assignee":{"login":"tucotuco","id":462827,"avatar_url":"https://avatars.githubusercontent.com/u/462827?v=3","gravatar_id":"","url":"https://api.github.com/users/tucotuco","html_url":"https://github.com/tucotuco","followers_url":"https://api.github.com/users/tucotuco/followers","following_url":"https://api.github.com/users/tucotuco/following{/other_user}","gists_url":"https://api.github.com/users/tucotuco/gists{/gist_id}","starred_url":"https://api.github.com/users/tucotuco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tucotuco/subscriptions","organizations_url":"https://api.github.com/users/tucotuco/orgs","repos_url":"https://api.github.com/users/tucotuco/repos","events_url":"https://api.github.com/users/tucotuco/events{/privacy}","received_events_url":"https://api.github.com/users/tucotuco/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/VertNet/dwc-indexer/milestones/1","html_url":"https://github.com/VertNet/dwc-indexer/milestones/End%20of%20Google%20Grant","labels_url":"https://api.github.com/repos/VertNet/dwc-indexer/milestones/1/labels","id":1068580,"number":1,"title":"End of Google Grant","description":"","creator":{"login":"tucotuco","id":462827,"avatar_url":"https://avatars.githubusercontent.com/u/462827?v=3","gravatar_id":"","url":"https://api.github.com/users/tucotuco","html_url":"https://github.com/tucotuco","followers_url":"https://api.github.com/users/tucotuco/followers","following_url":"https://api.github.com/users/tucotuco/following{/other_user}","gists_url":"https://api.github.com/users/tucotuco/gists{/gist_id}","starred_url":"https://api.github.com/users/tucotuco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tucotuco/subscriptions","organizations_url":"https://api.github.com/users/tucotuco/orgs","repos_url":"https://api.github.com/users/tucotuco/repos","events_url":"https://api.github.com/users/tucotuco/events{/privacy}","received_events_url":"https://api.github.com/users/tucotuco/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":2,"state":"open","created_at":"2015-04-15T11:49:09Z","updated_at":"2015-05-26T21:23:18Z","due_on":"2015-05-31T03:00:00Z","closed_at":null},"comments":1,"created_at":"2014-12-18T16:40:57Z","updated_at":"2015-05-26T21:23:18Z","closed_at":"2015-05-26T21:23:18Z","body":"CollectionCodes that have a '/' in them produce a key that does not follow the pattern of other, well-behaved keys (institutioncode/collectioncode/catalognumber).\r\n\r\nInstead, substitute \"-\" for \"/\" in the collectionCode.\r\n\r\n\r\nExamples of how this plays out in the portal.\r\nFor Macaulay, http://portal.vertnet.org/o/cuml/sound?id=film/1 is icode=cuml, ccode=sound/film, catnum=1 (keyname is cuml/sound/film/1)\r\n\r\nFor MVZ Egg/Nest, http://portal.vertnet.org/o/mvz/mvzegg?id=nest/1 icode=mvz, ccode=MVZ Egg/Nest, catnum=1  (keyname is mvz/mvzegg/nest/1)\r\n"},"comment":{"url":"https://api.github.com/repos/VertNet/dwc-indexer/issues/comments/105668895","html_url":"https://github.com/VertNet/dwc-indexer/issues/30#issuecomment-105668895","issue_url":"https://api.github.com/repos/VertNet/dwc-indexer/issues/30","id":105668895,"user":{"login":"tucotuco","id":462827,"avatar_url":"https://avatars.githubusercontent.com/u/462827?v=3","gravatar_id":"","url":"https://api.github.com/users/tucotuco","html_url":"https://github.com/tucotuco","followers_url":"https://api.github.com/users/tucotuco/followers","following_url":"https://api.github.com/users/tucotuco/following{/other_user}","gists_url":"https://api.github.com/users/tucotuco/gists{/gist_id}","starred_url":"https://api.github.com/users/tucotuco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tucotuco/subscriptions","organizations_url":"https://api.github.com/users/tucotuco/orgs","repos_url":"https://api.github.com/users/tucotuco/repos","events_url":"https://api.github.com/users/tucotuco/events{/privacy}","received_events_url":"https://api.github.com/users/tucotuco/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T21:23:18Z","updated_at":"2015-05-26T21:23:18Z","body":"changed\r\nret = re.sub('[ _]+', separator, ret)\r\nto\r\nret = re.sub('[ _]+/', separator, ret)\r\nin slugify()"}}