This commit is contained in:
salam committed 2026-02-03 20:21:21 +01:00
1 parent 87871c09fa
commit 170aeb6d33
1 file changed
+2 -1
+2 -1
View File
@@ -74,6 +74,8 @@ class ColumnOdds extends Column
$this->has_data = count($this->data);
$this->compare_bookmaker_id = 0;
$order = $this->bookmaker;
$this->data = $this->data->sortBy(function ($model) use ($order) {
return array_search($model->bookmaker_id, $order);
@@ -435,7 +437,6 @@ class ColumnOdds extends Column
public function setCompare($record)
{
$this->compare = null;
$this->compare_bookmaker_id = 0;
$this->data->filter(function ($model) {