https://github.com/eprints/eprints/commit/f38fde34494cce3c665cd7088050ccfd88c9d527