Skip to content

Commit

Permalink
do not filter datasources at all for results/ view
Browse files Browse the repository at this point in the history
  • Loading branch information
dale-wahl committed Mar 12, 2024
1 parent 04c7ebd commit 6cdc4f8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions webtool/views/views_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,7 @@ def show_results(page):
favourites = [row["key"] for row in
db.fetchall("SELECT key FROM users_favourites WHERE name = %s", (current_user.get_id(),))]

datasources = {datasource: metadata for datasource, metadata in backend.all_modules.datasources.items() if
(metadata["has_worker"] and metadata["has_options"]) or (metadata["importable"]) }

return render_template("results.html", filter=filters, depth=depth, datasources=datasources,
return render_template("results.html", filter=filters, depth=depth, datasources=backend.all_modules.datasources,
datasets=filtered, pagination=pagination, favourites=favourites)


Expand Down

0 comments on commit 6cdc4f8

Please sign in to comment.