Skip to content

Duplicates in search facets #182

@JonathanJustavino

Description

@JonathanJustavino

Artifact section displays only a subset of the available artifacts and sometime displays duplicates.

Potential bug here in facets-view.js at line 144
uriToName cuts off part of the artifact name when there is a "." in the artifact name

  // Fix artifact facet values for groups, change URIs into artifact names
      var artifactFacetData = ctrl.facetsData[DatabusUris.DATABUS_ARTIFACT_PROPERTY];

      if (artifactFacetData != null) {
        for (var i in artifactFacetData.values) {
          artifactFacetData.values[i] = DatabusUtils.uriToName(artifactFacetData.values[i]);
        }
      }

image_720

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions