File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/main/java/edu/harvard/iq/dataverse/api Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -114,8 +114,9 @@ public Response search(
114114 if (!types .isEmpty ()) {
115115 // Query to get the totals if needed.
116116 // Only needed if the list of types doesn't include all types since missing types will default to count of 0
117- // Only get the totals for the first page (paginationStart == 0) for speed
118- if (showTypeCounts && types .size () < objectTypeCountsMap .size () && paginationStart == 0 ) {
117+ // for 11542 we are removing the test for page one only since the show_type_counts=false will bypass this completely
118+ // SEK 6/17/25
119+ if (showTypeCounts && types .size () < objectTypeCountsMap .size ()) {
119120 List <String > totalFilterQueries = new ArrayList <>();
120121 totalFilterQueries .addAll (filterQueries );
121122 totalFilterQueries .add (SearchFields .TYPE + allTypes );
You can’t perform that action at this time.
0 commit comments