Skip to content

Duplicates in search facets #182

Open
@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

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions