Uploaded image for project: 'Automation Hub'
  1. Automation Hub
  2. AAH-2443

All Collection Versions show on Partner -> Collections Page when/after Filtering

Details

    • False
    • Hide

      None

      Show
      None
    • False
    • Moderate

    Description

      When navigating to Partners (namespaces) -> Collections tab (e.g. this UI endpoint https://console.redhat.com/ansible/automation-hub/namespaces/ansible), the normal amount of collections appears, showing latest version, and the total count of collections in the namespace is the count of each unique collection name(not each version). 

      If you add a keyword filter, all collections versions appear on the page as an individual collection, and the "total count" increases to the total number of versions. If you then remove the keyword filter, all collection versiona stay visible and the total count stays at the increased count, of all versions.

      Key Dependency Versions

      "server_version":"4.8.0dev",

      "galaxy_ng_version":"4.8.0dev",

      "galaxy_ng_commit":"origin/master:a314e11",

      "galaxy_importer_version":"0.4.10",

      "pulp_core_version":"3.23.4",

      "pulp_ansible_version":"0.17.2",

      "pulp_container_version":"2.14.5"

      Steps to Reproduce

      1. Go to https://console.redhat.com/ansible/automation-hub/namespaces/ansible
      2. Filter by a keyword (e.g. tower)
      3. Remove the keyword filter

      Actual Behavior

      When you first navigate in UI to the ansible namespace (https://console.redhat.com/ansible/automation-hub/namespaces/ansible), it shows 13 collections present. Then, when filtering with keyword tower, 25 collections show up in the results. After removing the filter, 116 collections show in the total count, and each individual collection version is showing on the page. 

      (Note: if you go directly to the https://console.redhat.com/ansible/automation-hub/namespaces/ansible?page=1&keywords=tower UI endpoint, this behavior does not occur)

      Expected Behavior

      Only the latest collection version should show in the listing, not individual versions. Expected results would be just tower and controller as unique collections, showing latest versions.

      Attachments

        Issue Links

          Activity

            People

              mhradil-1 Martin Hradil
              alhart@redhat.com Alison Hart
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: