[ckan-changes] commit/ckanext-solr: pudo: don't sort by title

Bitbucket commits-noreply at bitbucket.org
Wed Aug 3 11:18:48 UTC 2011


1 new changeset in ckanext-solr:

http://bitbucket.org/okfn/ckanext-solr/changeset/a9e87c97d876/
changeset:   a9e87c97d876
user:        pudo
date:        2011-08-03 13:18:38
summary:     don't sort by title
affected #:  1 file (6 bytes)

--- a/ckanext/solr/backend.py	Wed Aug 03 13:14:03 2011 +0200
+++ b/ckanext/solr/backend.py	Wed Aug 03 13:18:38 2011 +0200
@@ -32,7 +32,7 @@
         
         order_by = self.options.order_by
         if order_by == 'rank' or order_by is None: 
-            order_by = 'score,title'
+            order_by = 'score'
 
         # show only results from this CKAN instance:
         fq = fq + " +site_id:\"%s\" " % config.get('ckan.site_id')

Repository URL: https://bitbucket.org/okfn/ckanext-solr/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.




More information about the ckan-changes mailing list