|
@@ -20,20 +20,20 @@ class SessionStore implements ColumnSelectorStore
|
|
|
|
|
|
public function store(array $input)
|
|
|
{
|
|
|
- session()->put($this->getVisibleColumnsKey(), $input);
|
|
|
+ session()->put($this->getKey(), $input);
|
|
|
}
|
|
|
|
|
|
public function get()
|
|
|
{
|
|
|
- return session()->get($this->getVisibleColumnsKey());
|
|
|
+ return session()->get($this->getKey());
|
|
|
}
|
|
|
|
|
|
public function forget()
|
|
|
{
|
|
|
- session()->remove($this->getVisibleColumnsKey());
|
|
|
+ session()->remove($this->getKey());
|
|
|
}
|
|
|
|
|
|
- protected function getVisibleColumnsKey()
|
|
|
+ protected function getKey()
|
|
|
{
|
|
|
return $this->grid->getName().'/'.request()->path().'/'.Admin::user()->getKey();
|
|
|
}
|