Skip to content

Commit

Permalink
[TM-1625] remove option from cohort filter in dashboard (#653) (#654)
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarLima1 authored Jan 22, 2025
1 parent ef5bd7f commit d1af6af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Helpers/TerrafundDashboardQueryHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static function buildQueryFromRequest(Request $request)
$query->when(data_get($filters, 'filter.cohort'), function ($query, $cohort) {
$query->where('v2_projects.cohort', $cohort);
}, function ($query) {
$query->whereIn('v2_projects.cohort', ['terrafund', 'terrafund-landscapes', 'enterprises']);
$query->whereIn('v2_projects.cohort', ['terrafund', 'terrafund-landscapes']);
});

$query->when(data_get($filters, 'filter.landscapes'), function ($query, $landscapes) {
Expand Down

0 comments on commit d1af6af

Please sign in to comment.