jfinkels/flask-restless — pull request #333 by fluxism (2014-07-10 23:20:14+00:00)
Title: Fix count() when LIMIT is set

Using just a limit in search_params, the limit is not enforced. In helpers.count() num_results always contains the full count. This change forces uses of query.count() when a LIMIT is set.