standardize on single quotes
additional edge cases

exclude detail rows from pagination
correct currentPage if outside of bounds after filter