docs: public void fillContent(final CmsGallerySearchBean searchObj, List<CmsSearchParamPanel> paramPanels) {
  
          removeNoParamMessage();
  
          // in case there is a single type selected and the current sort order is not by type,
          // hide the type ascending and type descending sort order options
          SortParams currentSorting = SortParams.valueOf(searchObj.getSortOrder());
          if ((searchObj.getTypes().size() == 1)
              && !((currentSorting == SortParams.type_asc) || (currentSorting == SortParams.type_desc))) {
              m_sortSelectBox.setItems(getSortList(false));
          } else {
              m_sortSelectBox.setItems(getSortList(true));
          }
          m_sortSelectBox.selectValue(searchObj.getSortOrder());
          displayResultCount(getResultsDisplayed(searchObj), searchObj.getResultCount());
          m_hasMoreResults = searchObj.hasMore();
          if (searchObj.getPage() == 1) {
              m_preset = null;
              getList().scrollToTop();
              clearList();
              showParams(paramPanels);
              m_backwardScrollHandler.updateSearchBean(searchObj);
              getList().getElement().getStyle().clearDisplay();
              scrollToPreset();
  
          } else {
              showParams(paramPanels);
              addContent(searchObj);
          }
          showUpload(searchObj);
      }