type-name filter in ES REST API filters by type id rather than type name
Type-name filter should filter by type name, like in production:
https://api.crossref.org/works?filter=type-name:Journal%20Article
In staging, however, the same request gives back empty result set:
https://api.staging.crossref.org/works?filter=type-name:Journal%20Article
Instead, the filter works when given type id:
https://api.staging.crossref.org/works?filter=type-name:journal-article
Definition of done
-
Available via a staging URL -
Code reviewed -
Unit tests identified, implemented, and passing -
Public documentation reviewed and updated -
Knowledge base reviewed and updated -
Acceptance criteria met -
type-name
filter should filter by name (aka label) rather than type ID
-
Edited by Patrick Polischuk