Skip to content

Commit

Permalink
Merge pull request #68 from lara-zeus/fix-is-active
Browse files Browse the repository at this point in the history
fix is active
  • Loading branch information
atmonshi authored Aug 30, 2023
2 parents a4c33f8 + 64ad524 commit 66432c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/Department.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@ public function image(): ?string

public function scopeDepartments(Builder $query): void
{
$query->where('is-active', true)->orderBy('ordering');
$query->where('is_active', true)->orderBy('ordering');
}
}

0 comments on commit 66432c2

Please sign in to comment.