Skip to content

Commit

Permalink
#733 Поправил упорядочивание маршрутов.
Browse files Browse the repository at this point in the history
  • Loading branch information
boffart committed Nov 14, 2024
1 parent cad8e76 commit 8331870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AdminCabinet/Controllers/OutOffWorkTimeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public function modifyAction(string $id = ''): void
unset($data);

// Get the list of allowed routing rules
$rules = IncomingRoutingTable::find(['order' => 'priority', 'conditions' => 'id>1']);
$rules = IncomingRoutingTable::find(['order' => 'provider,number,priority', 'conditions' => 'id>1']);
$routingTable = [];
foreach ($rules as $rule) {
$provider = $rule->Providers;
Expand Down

0 comments on commit 8331870

Please sign in to comment.