diff options
author | Daniel DeLeo <dan@opscode.com> | 2010-06-08 15:54:18 -0700 |
---|---|---|
committer | Daniel DeLeo <dan@opscode.com> | 2010-06-08 15:54:18 -0700 |
commit | 94a7cc451a0fc585be79e8c9f029923b4629609b (patch) | |
tree | db467482505969a23715f4d5cbbc62bb1996f3f6 /chef-solr | |
parent | e720f11dab4c9423c33c2c8752a606747148bac3 (diff) | |
download | chef-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.rb | 2 |
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, |