Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid assuming that
access_url
exists always
DatalinkResultsMixin was assuming that the records created by any subclass would have the `access_url` attribute. This is not true for SSA (whether it should do is a separate question). This replaces that assumption with a check for existence first, and then if that fails, fall back to getdatalink on the record.
- Loading branch information