Skip to content

Commit

Permalink
Merge pull request #11 from eng-gabrielscardoso/3-enhancement-sort-pe…
Browse files Browse the repository at this point in the history
…rsonal-details-by-end-date

[ENHANCEMENT] Sort personal details by end date
  • Loading branch information
eng-gabrielscardoso authored Jun 30, 2024
2 parents cd0ce1e + 952bc2c commit 7821a4c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/Livewire/Home/Educations.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ public function render()

public function mount()
{
$this->educations = Education::orderBy('end_date', 'desc')->get();
$this->educations = Education::orderBy('end_date')->get();
}
}
2 changes: 1 addition & 1 deletion app/Livewire/Home/Experiences.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ public function render()

public function mount()
{
$this->experiences = Experience::orderBy('end_date', 'desc')->get();
$this->experiences = Experience::orderBy('end_date')->get();
}
}
2 changes: 1 addition & 1 deletion app/Livewire/Projects.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ public function render()

public function mount()
{
$this->projects = Project::orderBy('end_date', 'desc')->get();
$this->projects = Project::orderBy('end_date')->get();
}
}

0 comments on commit 7821a4c

Please sign in to comment.