Skip to content

Commit

Permalink
[#2844] fix simple search for db clean
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes authored and amercader committed Aug 20, 2012
1 parent 5d81435 commit 2be2b62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/lib/search/__init__.py
Expand Up @@ -233,7 +233,7 @@ def clear(package_reference=None):
log.debug("Clearing search index for dataset %s..." %
package_reference)
package_index.delete_package({'id': package_reference})
else:
elif not SIMPLE_SEARCH:
log.debug("Clearing search index...")
package_index.clear()

Expand Down

0 comments on commit 2be2b62

Please sign in to comment.