Skip to content

Commit

Permalink
remove unused css and methods
Browse files Browse the repository at this point in the history
  • Loading branch information
max-yilang committed Dec 6, 2019
1 parent 5b1f052 commit d8a11ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 deletions.
Empty file removed dist/css/filter.css
Empty file.
19 changes: 4 additions & 15 deletions src/SliderFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace DigitalCreative\NovaRangeFilter;

use Illuminate\Database\Eloquent\Builder;
use Illuminate\Http\Request;
use Laravel\Nova\Filters\Filter;

Expand All @@ -17,29 +18,17 @@ class SliderFilter extends Filter
/**
* Apply the filter to the given query.
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Database\Eloquent\Builder $query
* @param Request $request
* @param Builder $query
* @param mixed $value
*
* @return \Illuminate\Database\Eloquent\Builder
* @return Builder
*/
public function apply(Request $request, $query, $value)
{
return $query;
}

/**
* Get the filter's available options.
*
* @param \Illuminate\Http\Request $request
*
* @return array
*/
public function options(Request $request)
{
return [];
}

public function minValue(int $min): self
{
return $this->withMeta([ 'min' => $min ]);
Expand Down

0 comments on commit d8a11ca

Please sign in to comment.