Skip to content

Commit

Permalink
Merge pull request #363 from itskundanhere/main
Browse files Browse the repository at this point in the history
Added all for filter in GSoC
  • Loading branch information
andoriyaprashant authored Oct 17, 2024
2 parents a743e04 + 3e504aa commit 9675b84
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/programs screen/google_summer_of_code_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ class _GoogleSummerOfCodeScreenState extends State<GoogleSummerOfCodeScreen> {
String currentPage = "/google_summer_of_code";
String currentProject = "Google Summer of Code";
String selectedOrg = ''; // Ensure this is defined
List<String> selectedProposals = ['All'];
List<Organization> gsoc2024 = [];
List<Organization> gsoc2023 = [];
List<Organization> gsoc2022 = [];
List<Organization> gsoc2021 = [];
int selectedYear = 2024;
List<String> languages = [
'All',
'js',
'python',
'django',
Expand Down Expand Up @@ -143,6 +145,7 @@ class _GoogleSummerOfCodeScreenState extends State<GoogleSummerOfCodeScreen> {
});
await getProjectData();
setState(() {
initializeProjectLists();
selectedYear = 2024;
selectedLanguages = ['All'];
selectedOrganizations = ['All'];
Expand Down Expand Up @@ -461,4 +464,6 @@ class _GoogleSummerOfCodeScreenState extends State<GoogleSummerOfCodeScreen> {
),
);
}

void initializeProjectLists() {}
}

0 comments on commit 9675b84

Please sign in to comment.