When performing a query that matches 744 entries, the number of returned entries varies depending on the page size requested. For a page size of 300, it returns 767 entries For a page size of 500, it returns 759 entries Running the results for sort -u correctly shows 744 unique entries. So anywhere from 15 to 23 duplicates are returned in the above case.
With a page size of 10, there are 2,042 non-unique entries returned. After running through sort -u, we have the correct result of 744.
Bug is due to use of dynlist in configuration. Fixed in master.
Commits: • 354e678c by Howard Chu at 2020-12-15T22:55:47+00:00 ITS#9426 dynlist: don't add unexpanded groups at end of search if pagedResults is in use
*** Issue 8372 has been marked as a duplicate of this issue. ***