bug
This commit is contained in:
1 parent
87871c09fa
commit
170aeb6d33
1 file changed
+2
-1
@@ -74,6 +74,8 @@ class ColumnOdds extends Column
|
|||||||
|
|
||||||
$this->has_data = count($this->data);
|
$this->has_data = count($this->data);
|
||||||
|
|
||||||
|
$this->compare_bookmaker_id = 0;
|
||||||
|
|
||||||
$order = $this->bookmaker;
|
$order = $this->bookmaker;
|
||||||
$this->data = $this->data->sortBy(function ($model) use ($order) {
|
$this->data = $this->data->sortBy(function ($model) use ($order) {
|
||||||
return array_search($model->bookmaker_id, $order);
|
return array_search($model->bookmaker_id, $order);
|
||||||
@@ -435,7 +437,6 @@ class ColumnOdds extends Column
|
|||||||
public function setCompare($record)
|
public function setCompare($record)
|
||||||
{
|
{
|
||||||
$this->compare = null;
|
$this->compare = null;
|
||||||
$this->compare_bookmaker_id = 0;
|
|
||||||
|
|
||||||
$this->data->filter(function ($model) {
|
$this->data->filter(function ($model) {
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user