TexasDigitalLibrary / Vireo

Vireo is a turnkey Electronic Thesis and Dissertation (ETD) Management System.
https://texasdigitallibrary.atlassian.net/wiki/spaces/VUG/pages/87490642/About
GNU General Public License v2.0
43 stars 33 forks source link

Issue 1931: Pagination not working properly for combined filters list. #1932

Closed kaladay closed 1 month ago

kaladay commented 1 month ago

resolves #1931

This is a regression from the aggressive performance optimizations such as commit b2c538c5c9c7d99a18c9f8c2c47b8cc98c01a260.

The case that is not correctly handled is where there are multiple separate field values being selected and filtered upon.

Instead of fully removing the optimization, this uses the optimization when there are zero or one field_values being filtered on. Then when there are two or more field_values then omit the optimization.