[ckan-changes] commit/ckan: John Glover: [moderated edits] Add url field to search index

Bitbucket commits-noreply at bitbucket.org
Wed Jun 29 09:24:40 UTC 2011


1 new changeset in ckan:

http://bitbucket.org/okfn/ckan/changeset/e9214ee9d370/
changeset:   e9214ee9d370
branch:      feature-1141-moderated-edits-ajax
user:        John Glover
date:        2011-06-29 11:22:37
summary:     [moderated edits] Add url field to search index
affected #:  1 file (7 bytes)

--- a/ckan/lib/search/sql.py	Thu Jun 23 11:46:33 2011 +0100
+++ b/ckan/lib/search/sql.py	Wed Jun 29 11:22:37 2011 +0200
@@ -222,7 +222,7 @@
 
         document_a = u' '.join((pkg_dict.get('name') or u'', pkg_dict.get('title') or u''))
         document_b_items = []
-        for field_name in ['notes', 'tags', 'groups', 'author', 'maintainer']:
+        for field_name in ['notes', 'tags', 'groups', 'author', 'maintainer', 'url']:
             val = pkg_dict.get(field_name)
             if val:
                 document_b_items.append(val)

Repository URL: https://bitbucket.org/okfn/ckan/

--

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