diff --git a/client/src/pages/searches/Search.js b/client/src/pages/searches/Search.js index 179075a530..304f4afe99 100644 --- a/client/src/pages/searches/Search.js +++ b/client/src/pages/searches/Search.js @@ -751,6 +751,21 @@ const Search = ({ {/* TODO: Show a warning when there are more than exportUtils.MAX_NR_OF_EXPORTS results */} + {/* PDF export is limited with reports */} + {queryTypes.includes(SEARCH_OBJECT_TYPES.REPORTS) && ( + + exportResults( + searchQueryParams, + queryTypes, + "pdf", + setError + ) + } + > + PDF (pdf) + + )} exportResults(searchQueryParams, queryTypes, "xlsx", setError)