Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-9186

Return unfiltered list of favorites and recentlyBrowsed in api/components/suggestions

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.4
    • Component/s: ElasticSearch, Web API
    • Labels:

      Description

      In api/components/suggestions the parameter s should be optional.

      • If the parameter is not set, only the favorites/recentlyBrowsed items are returned (which could also mean, that no suggestions are returned, as usual for the search).
      • The suggestions should be ordered by:
        1. whether they are favorite/recentlyBrowsed/other
        2. their names
      • All the other features of this ws (grouping per qualifier, limit of 6 items, "showMore", etc.) should apply as usual.
      • If the parameter s is specified, it has to be valid (minimum 2 characters, etc.)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                daniel.schwarz Daniel Schwarz (Inactive)
                Reporter:
                daniel.schwarz Daniel Schwarz (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: