Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#1208] Use search to get datasets on group_show
Use the search rather than query the db. Instead of returning the whole package dict, pick the fields to match the ones currently returned by the API.
- Loading branch information
Showing
3 changed files
with
31 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I think 'schema' needs removing from the context passed to package_search. See #1420