I want to filter my base collection on the server side?
Current I pass the request parameters through the data:
Books.fetch({data: {published: true, page: 3}})
Is there a better way to do this?
Books.filter(function (book) { return filterCondition(book); }).fetch();
Filter your collection into the books you need, and then call the selection in the new collection.
Source: https://habr.com/ru/post/1391438/More articles:Error after creating basic data files - iosPrint horizontal sub-report data - jasper-reportsPassing an inline string into a subroutine call, where the parameter has a certain length, gives unexpected results - fortranJQuery UI widget - how to create events using a shell element - javascriptClient side validation MVC3 not working with Ajax.BeginForm form - jquery-validateMultimedia playing Java - javaAndroid - streaming internet radio - androidRunning sudo apt-get command on windows - windowsJQuery Mobile: unable to update google map - jquery-mobileCommons Maths: Pearsons Correlation returns NaN. - javaAll Articles