Skip to content

Commit

Permalink
fix(organizations): limit my org projects query to surveys TASK-1389 (#…
Browse files Browse the repository at this point in the history
…5378)

### 📣 Summary
Adds query param to asset API request on `myOrgProjectsRoute` to
restrict query to only surveys.

### 👀 Preview steps
1. Create an MMO and a collection
2. View MMO org project list 
3. On main, the collection will appear on this list
4. On this branch, the collection will not appear (because a query param
is added to the API request)
  • Loading branch information
jamesrkiger authored Dec 18, 2024
1 parent 29fabbd commit 424311f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsapp/js/projects/myOrgProjectsRoute.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function MyOrgProjectsRoute() {
viewUid={ORG_VIEW.uid}
baseUrl={`${ROOT_URL}${apiUrl}`}
defaultVisibleFields={HOME_DEFAULT_VISIBLE_FIELDS}
includeTypeFilter={false}
includeTypeFilter
defaultOrderableFields={HOME_ORDERABLE_FIELDS}
defaultExcludedFields={HOME_EXCLUDED_FIELDS}
isExportButtonVisible={false}
Expand Down

0 comments on commit 424311f

Please sign in to comment.