When fetching germplasm with specific filters included, the pagination information in the metadata shows the total count as the total number of germplasm in the database, not the total that meet the search criteria.
For example, calling to http://localhost:8080/brapi/v2/germplasm?pageSize=1 returns pagination information of {"pageSize":1,"totalCount":101002,"totalPages":101002,"currentPage":0}. Calling http://localhost:8080/brapi/v2/germplasm?pageSize=1&externalReferenceId=48f1a249-1403-49a6-ad8c-9b8158a37902 should return a smaller totalCount, but does not
When fetching germplasm with specific filters included, the pagination information in the metadata shows the total count as the total number of germplasm in the database, not the total that meet the search criteria.
For example, calling to
http://localhost:8080/brapi/v2/germplasm?pageSize=1
returns pagination information of{"pageSize":1,"totalCount":101002,"totalPages":101002,"currentPage":0}
. Callinghttp://localhost:8080/brapi/v2/germplasm?pageSize=1&externalReferenceId=48f1a249-1403-49a6-ad8c-9b8158a37902
should return a smaller totalCount, but does not