Police-Data-Accessibility-Project / data-sources-app

An API and UI for using and maintaining the Data Sources database
MIT License
2 stars 5 forks source link

data sources pagination and sorting #419

Open josh-chamberlain opened 2 weeks ago

josh-chamberlain commented 2 weeks ago

Context

Makes #75 easier. In general, with a paginated endpoint, it's helpful to allow users to sort_by

Requirements

Tests

Docs

Open questions

maxachis commented 1 week ago

@josh-chamberlain This has been addressed in Data Sources. The way I've designed things, it wouldn't take too much for me to add the sorting to Agencies and Data Requests (they both already have pagination). Would you like me to do that?

josh-chamberlain commented 6 days ago

@maxachis Yes, I suppose that would be best for symmetry and consistency, wouldn't it! Thanks.