diff --git a/app/controllers/concerns/facetable.rb b/app/controllers/concerns/facetable.rb index 51c75e522..e2d3c9b4d 100644 --- a/app/controllers/concerns/facetable.rb +++ b/app/controllers/concerns/facetable.rb @@ -27,6 +27,8 @@ module Facetable LICENSES = { "afl-1.1" => "AFL-1.1", "apache-2.0" => "Apache-2.0", + "bsd-2-clause" => "BSD-2-clause", + "bsd-3-clause" => "BSD-3-clause", "cc-by-1.0" => "CC-BY-1.0", "cc-by-2.0" => "CC-BY-2.0", "cc-by-2.5" => "CC-BY-2.5", @@ -40,9 +42,12 @@ module Facetable "cc-by-nc-nd-4.0" => "CC-BY-NC-ND-4.0", "cc-by-nc-sa-3.0" => "CC-BY-NC-SA-3.0", "cc-by-nc-sa-4.0" => "CC-BY-NC-SA-4.0", + "cc-by-nd-4.0" => "CC-BY-ND-4.0", "cc-by-sa-4.0" => "CC-BY-SA-4.0", "cc-pddc" => "CC-PDDC", "cc0-1.0" => "CC0-1.0", + "eupl-1.1" => "EUPL-1.1", + "gpl-2.0+" => "GPL-2.0+", "gpl-3.0" => "GPL-3.0", "isc" => "ISC", "mit" => "MIT", diff --git a/app/graphql/types/base_connection.rb b/app/graphql/types/base_connection.rb index 256e34ce1..9e75c5aaa 100644 --- a/app/graphql/types/base_connection.rb +++ b/app/graphql/types/base_connection.rb @@ -22,6 +22,8 @@ class BaseConnection < GraphQL::Types::Relay::BaseConnection LICENSES = { "afl-1.1" => "AFL-1.1", "apache-2.0" => "Apache-2.0", + "bsd-2-clause" => "BSD-2-clause", + "bsd-3-clause" => "BSD-3-clause", "cc-by-1.0" => "CC-BY-1.0", "cc-by-2.0" => "CC-BY-2.0", "cc-by-2.5" => "CC-BY-2.5", @@ -35,9 +37,12 @@ class BaseConnection < GraphQL::Types::Relay::BaseConnection "cc-by-nc-nd-4.0" => "CC-BY-NC-ND-4.0", "cc-by-nc-sa-3.0" => "CC-BY-NC-SA-3.0", "cc-by-nc-sa-4.0" => "CC-BY-NC-SA-4.0", + "cc-by-nd-4.0" => "CC-BY-ND-4.0", "cc-by-sa-4.0" => "CC-BY-SA-4.0", "cc-pddc" => "CC-PDDC", "cc0-1.0" => "CC0-1.0", + "eupl-1.1" => "EUPL-1.1", + "gpl-2.0+" => "GPL-2.0+", "gpl-3.0" => "GPL-3.0", "isc" => "ISC", "mit" => "MIT",