Skip to content
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"php": "^8.0",
"illuminate/support": "^7.0|^8.0|^9.0|^10.0",
"livewire/livewire": "^2.4.4",
"maatwebsite/excel": "^3.1",

"reedware/laravel-relation-joins": "^2.4|^3.0|^4.0"
},
"require-dev": {
Expand Down
4 changes: 2 additions & 2 deletions src/Http/Livewire/LivewireDatatable.php
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ public function getSessionStoredPerPage()
return;
}

$this->perPage = session()->get($this->sessionStorageKey() . $this->name . '_perpage', $this->perPage);
$this->perPage = session()->get($this->sessionStorageKey() . '_perpage', $this->perPage);
}

public function setSessionStoredSort()
Expand Down Expand Up @@ -554,7 +554,7 @@ public function setSessionStoredHidden()

$hidden = collect($this->columns)->filter->hidden->keys()->toArray();

session()->put([$this->sessionStorageKey() . $this->name . '_hidden_columns' => $hidden]);
session()->put([$this->sessionStorageKey() . '_hidden_columns' => $hidden]);
}

public function initialiseSearch()
Expand Down