Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ DESCRIPTION >
- Parameters:
- `search`: Required string for searching across all entity types (inherited by filtered pipes)
- `limit`: Optional integer for result limit per entity type, defaults to 10
- Response: `type` ('collection'|'project'|'repository'), `slug`, `logo`, `projectSlug`, `name`
- Response: `type` ('collection'|'project'|'repository'), `id` (projectId only), `slug`, `logo`, `projectSlug`, `name`

NODE merge_results_from_collections_projects_repos_filtered
SQL >
%
select
'collection' as type,
'' as id,
collections_filtered.slug,
null as logo,
null as projectSlug,
Expand All @@ -26,6 +27,7 @@ SQL >
union all
select
'project' as type,
insightsProjects_filtered.id,
insightsProjects_filtered.slug,
insightsProjects_filtered.logo,
insightsProjects_filtered.slug as "projectSlug",
Expand All @@ -42,6 +44,7 @@ SQL >
union all
select
'repository' as type,
'' as id,
activityRepositories_filtered.repo as slug,
null as logo,
activityRepositories_filtered.projectSlug as "projectSlug",
Expand Down