Skip to content

Commit

Permalink
fix is active
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi committed Aug 30, 2023
1 parent a4c33f8 commit 64ad524
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 64ad524

Please sign in to comment.