Assets field does not display all search results on the portal

XMLWordPrintable

    • 16
    • Minor
    • 7

      Issue Summary

      This is reproducible on Data Center: no

      When searching within an Assets custom field on the customer portal, if the search returns more than 50 results, not all of them are displayed. Only the first 50 are displayed. 

      This is because the search request only returns the first 50 results, and the frontend dropdown component doesn't fetch the next set of results when the user scrolls to the bottom of the list. 

      Steps to Reproduce

      1. Set up an Assets field with a schema that has more than 50 objects, and put the field onto a portal request form.
      2. Perform a search in the field on the portal that will return more than 50 objects in the result.

      Expected Results

      We are able to view all results from the search.

      Actual Results

      The first 50 results are shown, but no more than that.

      Workaround

      You need to perform more detailed/unique searches in order to return a smaller list of results, so that all results are visible in the dropdown.

      Note

      There are some rare cases where this behaviour can cause the dropdown to display 'no options', or only a few options, when it should display more. This is also due to the same issue, where we don't fetch the next page of results once the user scrolls to the bottom of the dropdown. To confirm this, have a look at the search request in the browser dev tools and see if the response contains more results than are displayed in the dropdown. 

              Assignee:
              Mohamed Hassan (Inactive)
              Reporter:
              Peter Grasevski
              Votes:
              18 Vote for this issue
              Watchers:
              21 Start watching this issue

                Created:
                Updated:
                Resolved: