Skip to content

Commit

Permalink
Merge pull request #440 from datacite/use-license-with-missing-facet
Browse files Browse the repository at this point in the history
use license_with_missing instead of license facet
  • Loading branch information
jrhoads authored Jan 16, 2025
2 parents 146fbe9 + 3bcf29a commit b9d040e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/data/queries/searchDoiFacetsQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const FACETS = [
'published',
'resourceTypes',
'languages',
'licenses',
'licenses_with_missing',
'fieldsOfScience',
'affiliations',
'repositories',
Expand Down Expand Up @@ -45,7 +45,7 @@ function convertToQueryData(json: any): QueryData {
published: meta.published,
resourceTypes: meta.resourceTypes.slice(0, 10),
languages: meta.languages.slice(0, 10),
licenses: meta.licenses.slice(0, 10),
licenses: meta.licensesWithMissing.slice(0, 10),
fieldsOfScience: meta.fieldsOfScience.slice(0, 10),
affiliations: meta.affiliations,
repositories: [],
Expand Down

0 comments on commit b9d040e

Please sign in to comment.