summaryrefslogtreecommitdiff
path: root/chef-solr
diff options
context:
space:
mode:
authorDaniel DeLeo <dan@opscode.com>2010-06-08 15:54:18 -0700
committerDaniel DeLeo <dan@opscode.com>2010-06-08 15:54:18 -0700
commit94a7cc451a0fc585be79e8c9f029923b4629609b (patch)
treedb467482505969a23715f4d5cbbc62bb1996f3f6 /chef-solr
parente720f11dab4c9423c33c2c8752a606747148bac3 (diff)
downloadchef-94a7cc451a0fc585be79e8c9f029923b4629609b.tar.gz
not the *best* way to fix this, but it mitigates the problem for now
Diffstat (limited to 'chef-solr')
-rw-r--r--chef-solr/lib/chef/solr/query.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef-solr/lib/chef/solr/query.rb b/chef-solr/lib/chef/solr/query.rb
index cf53305a06..29c44a17f0 100644
--- a/chef-solr/lib/chef/solr/query.rb
+++ b/chef-solr/lib/chef/solr/query.rb
@@ -74,7 +74,7 @@ class Chef
# Search Solr for objects of a given type, for a given query. If you give
# it a block, it will handle the paging for you dynamically.
- def search(type, query="*:*", sort=nil, start=0, rows=20, &block)
+ def search(type, query="*:*", sort='X_CHEF_id_CHEF_X asc', start=0, rows=1000, &block)
options = {
:q => query,
:start => start,