Skip to content

Commit

Permalink
## 14.2.1 - 2023-06-12
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna committed Jun 11, 2023
1 parent bf4e691 commit 4738d74
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## 14.2.1 - 2023-06-12

### Fixed
- Default filtration for Attachment model

## 14.2.0 - 2023-06-10

### Added
Expand Down
13 changes: 7 additions & 6 deletions src/Attachment/Models/Attachment.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
use Illuminate\Support\Str;
use Orchid\Attachment\MimeTypes;
use Orchid\Filters\Filterable;
use Orchid\Filters\Types\Like;
use Orchid\Platform\Dashboard;
use Orchid\Platform\Models\User;

Expand Down Expand Up @@ -63,12 +64,12 @@ class Attachment extends Model
* @var array
*/
protected $allowedFilters = [
'name',
'original_name',
'mime',
'extension',
'disk',
'group',
'name' => Like::class,
'original_name' => Like::class,
'mime' => Like::class,
'extension' => Like::class,
'disk' => Like::class,
'group' => Like::class,
];

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Platform/Dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Dashboard
/**
* ORCHID Version.
*/
public const VERSION = '14.2.0';
public const VERSION = '14.2.1';

/**
* @deprecated
Expand Down

0 comments on commit 4738d74

Please sign in to comment.