PreXident / TextAn

MFF automaticky policejni analytik
Other
4 stars 3 forks source link

Provide webservice interface and db implementation for pagination and filtering #56

Closed PreXident closed 10 years ago

PreXident commented 10 years ago

For now pagination and filtering of objects is done inefficietly in the client. This functionality should be moved to the server. Please provide interface and implementation for pagination (accepting index of first object and length) and filtering (accepting object type and filter string for aliases) that returns the list of objects in the window and total number of objects meeting the requirements. I guess creating interface is work for @Blemicek and implementation for @gbread

Blemicek commented 10 years ago

And what about sorting? I know ordering by the alias should be nice, but with multiple aliases it's a bit problem, so is it ok to use ordering by id?

gbread commented 10 years ago

Its just an "interface" now but its ready for use and we can solve the sorting problem later

Blemicek commented 10 years ago

Where is a combination with a filtering?