Last active
February 9, 2016 19:44
-
-
Save themusicman/c8db46c7125c76b4fb94 to your computer and use it in GitHub Desktop.
Increasing the size of the search records returned
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Legislator.search(params[:q], size: 10000).records.where(chamber: params[:chamber]).order('voting_sessions.score asc, last_name asc') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment