|
@@ -63,7 +63,6 @@ class Filter implements Renderable
|
|
|
{
|
|
|
use HasBuilderEvents;
|
|
|
|
|
|
- const MODE_PANEL = 'panel';
|
|
|
const MODE_RIGHT_SIDE = 'right-side';
|
|
|
|
|
|
/**
|
|
@@ -342,22 +341,6 @@ class Filter implements Renderable
|
|
|
return $this;
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * @return $this
|
|
|
- */
|
|
|
- public function panel()
|
|
|
- {
|
|
|
- return $this->mode(self::MODE_PANEL);
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * @return $this
|
|
|
- */
|
|
|
- public function rightSide()
|
|
|
- {
|
|
|
- return $this->mode(self::MODE_RIGHT_SIDE);
|
|
|
- }
|
|
|
-
|
|
|
/**
|
|
|
* Get filter ID.
|
|
|
*
|
|
@@ -694,7 +677,7 @@ class Filter implements Renderable
|
|
|
|
|
|
$this->callComposing();
|
|
|
|
|
|
- $this->view = $this->mode === self::MODE_RIGHT_SIDE ? 'admin::filter.right-side-container' : 'admin::filter.container';
|
|
|
+ $this->view = 'admin::filter.right-side-container';
|
|
|
|
|
|
return view($this->view)->with([
|
|
|
'action' => $this->action ?: $this->urlWithoutFilters(),
|