Skip to content

Commit

Permalink
Merge pull request #2535 from ckan/2532-dont-filter-datasets-on-views…
Browse files Browse the repository at this point in the history
…-create

[#2532] Allow custom dataset types on views create command
  • Loading branch information
joetsoi committed Jul 19, 2015
2 parents 9dd4ba6 + b628f4b commit e711c1d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ckan/lib/cli.py
Expand Up @@ -2418,10 +2418,6 @@ def _search_datasets(self, page=1, view_types=[]):
if not search_data_dict.get('q'):
search_data_dict['q'] = '*:*'

if ('dataset_type:dataset' not in search_data_dict['fq'] and
'dataset_type:dataset' not in search_data_dict['fq_list']):
search_data_dict['fq_list'].append('dataset_type:dataset')

query = p.toolkit.get_action('package_search')(
{'ignore_capacity_check': True},
search_data_dict)
Expand Down

0 comments on commit e711c1d

Please sign in to comment.