{"issue":{"created_at":"2011-11-29T17:02:26Z","state":"closed","updated_at":"2011-11-29T17:02:32Z","user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"importer"},"comments":2,"body":"Wenn weniger als $limit Beiträge vorhanden sind, werden nur die ersten ($limit - $total) Beiträge angezeigt:\n\nsource:/trunk/system/modules/news/ModuleNewsList.php#L123, fehlerhaft\n\n```\n// Hard limit\nif (($limit + $offset) > $total)\n{\n  $limit = $limit + $offset - $total;\n}\n```\n\nsource:/trunk/system/modules/news/ModuleNewsList.php#L123, korrekt\n\n```\n// Hard limit\nif (($limit + $offset) > $total)\n{\n  $limit = $total - $offset;\n}\n```\n\n--- _Originally created by Nils on July 29th, 2009, at 03:53pm (ID 914)_","assignee":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"labels":[{"name":"Defect","color":"bd2c00","url":"https://api.github.com/repos/contao/import/labels/Defect"},{"name":"Duplicate","color":"ffdd00","url":"https://api.github.com/repos/contao/import/labels/Duplicate"},{"name":"news","color":"e6e6e6","url":"https://api.github.com/repos/contao/import/labels/news"}],"id":2387709,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":914,"title":"News Modul Liste zeigt nicht alle Einträge","closed_at":"2011-11-29T17:02:31Z","html_url":"https://github.com/contao/import/issues/914","url":"https://api.github.com/repos/contao/import/issues/914","milestone":null},"action":"created","comment":{"created_at":"2011-11-29T17:02:29Z","updated_at":"2011-11-29T17:02:29Z","user":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"body":"--- _Originally closed on July 29th, 2009, at 04:05pm_","id":2935804,"url":"https://api.github.com/repos/contao/import/issues/comments/2935804"}}