{"push_id":918635873,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"b356db1f75d9bfc03c45a2f9de5ca5617fe36c7c","before":"e74b8f5476db6ac45349716d21e7b2dd541edb6b","commits":[{"sha":"b356db1f75d9bfc03c45a2f9de5ca5617fe36c7c","author":{"email":"7ece978167073d004197c0d6655799d1a2ce976e@pobox.com","name":"Mark Longair"},"message":"Make sure lists from the API are ordered in a pagination-safe way\n\nWe were getting duplicate results back when iterating over pages\nfrom the API listing organizations, I think because the ordering\nrequested was just on 'name' - when two organizations had the same\nname they were ordered arbitrarily.  To try to avoid this we order\nall paginated search results by ID, which should mean that we\ndon't get duplicates either in the case above or when new objects\nare added. (There will still be problems if an object is deleted\nwhile iterating over pages: some objects might be missed.)","distinct":true,"url":"https://api.github.com/repos/mysociety/yournextrepresentative/commits/b356db1f75d9bfc03c45a2f9de5ca5617fe36c7c"}]}