{"action":"created","issue":{"url":"https://api.github.com/repos/GrandComicsDatabase/gcd-django/issues/120","repository_url":"https://api.github.com/repos/GrandComicsDatabase/gcd-django","labels_url":"https://api.github.com/repos/GrandComicsDatabase/gcd-django/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/GrandComicsDatabase/gcd-django/issues/120/comments","events_url":"https://api.github.com/repos/GrandComicsDatabase/gcd-django/issues/120/events","html_url":"https://github.com/GrandComicsDatabase/gcd-django/issues/120","id":135114571,"number":120,"title":"series first/last issue overly simplistic - dates and sorting don't always match","user":{"login":"handrews","id":2358015,"avatar_url":"https://avatars.githubusercontent.com/u/2358015?v=3","gravatar_id":"","url":"https://api.github.com/users/handrews","html_url":"https://github.com/handrews","followers_url":"https://api.github.com/users/handrews/followers","following_url":"https://api.github.com/users/handrews/following{/other_user}","gists_url":"https://api.github.com/users/handrews/gists{/gist_id}","starred_url":"https://api.github.com/users/handrews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/handrews/subscriptions","organizations_url":"https://api.github.com/users/handrews/orgs","repos_url":"https://api.github.com/users/handrews/repos","events_url":"https://api.github.com/users/handrews/events{/privacy}","received_events_url":"https://api.github.com/users/handrews/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GrandComicsDatabase/gcd-django/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/GrandComicsDatabase/gcd-django/labels/tech%20debt","name":"tech debt","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-20T19:57:34Z","updated_at":"2016-02-20T20:17:22Z","closed_at":null,"body":"From @jochengcd in a comment on http://reviews.comics.org/r/1563/\r\n\r\nWhile we are at first/last of a series, this is for some series problematic and not handled in a good way currently. The cases I know are European ones, but I wouldn't be surprised if we find some for the US comics as well.\r\n\r\nProblem is the difference between number sorting and chrono sorting in some cases. Sometimes series, in particular reprints or foreign language editions, are not published in chronological numbered order, in other words, issue 1 might be published after 2. But, in many cases ordering the issues in chronological order would by contrary to user expectations, so 1 should still be before 2 in regard to the sort code. This then results in wrongly displayed publication dates for the series, which we fetch from the first/last issue.\r\n\r\nNot sure if this problem appears besides the series publication years, so it is not that major, but it still displays 'wrong' data currently. Two ways around it come to mind, one would allow overriding the used issue publication dates for the series, the other would imply two first/last sets, one for numbering, and one for chronological. Numbering as now would be fully automatic, chrono not sure, might also be, if we work with the keydate ?"},"comment":{"url":"https://api.github.com/repos/GrandComicsDatabase/gcd-django/issues/comments/186675814","html_url":"https://github.com/GrandComicsDatabase/gcd-django/issues/120#issuecomment-186675814","issue_url":"https://api.github.com/repos/GrandComicsDatabase/gcd-django/issues/120","id":186675814,"user":{"login":"ralfharing","id":1097286,"avatar_url":"https://avatars.githubusercontent.com/u/1097286?v=3","gravatar_id":"","url":"https://api.github.com/users/ralfharing","html_url":"https://github.com/ralfharing","followers_url":"https://api.github.com/users/ralfharing/followers","following_url":"https://api.github.com/users/ralfharing/following{/other_user}","gists_url":"https://api.github.com/users/ralfharing/gists{/gist_id}","starred_url":"https://api.github.com/users/ralfharing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralfharing/subscriptions","organizations_url":"https://api.github.com/users/ralfharing/orgs","repos_url":"https://api.github.com/users/ralfharing/repos","events_url":"https://api.github.com/users/ralfharing/events{/privacy}","received_events_url":"https://api.github.com/users/ralfharing/received_events","type":"User","site_admin":false},"created_at":"2016-02-20T20:17:22Z","updated_at":"2016-02-20T20:17:22Z","body":"When an issue is added/modified/deleted/moved into/moved out of a series, you could do a check to see if its date falls outside the existing series date range or is itself one of the first/last dates, and then refactor the dates appropriately."}}