Commit 92ac3c87da843cff20da540b91e98994e6fc2846

Authored by Sergio Oliveira
1 parent e8435406

Changing or by and

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/colab/deprecated/solrutils.py
... ... @@ -137,7 +137,7 @@ def select(query, results_per_page=None, page_number=None, sort=None, fields=Non
137 137  
138 138 """
139 139  
140   - if not settings.SOLR_HOSTNAME or not settings.SOCKS_PORT:
  140 + if not settings.SOLR_HOSTNAME and not settings.SOCKS_PORT:
141 141 return {}
142 142  
143 143 data = {
... ...