I have a few .filter functions, two of which are below. These both work and do what they are meant to. The problem I've got is that they take a bit of time to do the filtering as they have to iterate over the records that come from the backend. The way this is currently set up is that the backend returns all the records which are around 400 in total. Don't know why its not just returning the first page of results (or first few pages), returning all results just to make it easy to paginate through all the records seems a bit much but that's not my decision. functions, two of which ar