Skip to content

Commit

Permalink
Add options as argument on extendDiningTableReservableQuery event
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <[email protected]>
  • Loading branch information
sampoyigi committed Sep 7, 2023
1 parent 137cbcd commit c142143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/admin/models/DiningTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public function scopeReservable($query, $options)
->orderBy('dining_sections.priority', 'desc')
->orderBy('dining_tables.priority', 'desc');

$this->fireEvent('model.extendDiningTableReservableQuery', [$query]);
$this->fireEvent('model.extendDiningTableReservableQuery', [$query, $options]);

return $query;
}
Expand Down

0 comments on commit c142143

Please sign in to comment.