mirror of
https://github.com/flarum/core.git
synced 2025-10-12 23:44:27 +02:00
Add deprecated "user" filter for posts
In the filterer refactor for ListPostsController, the filter key was changed to `author` for consistency with the AuthorFilterGambit used in discussions. This commit adds a deprecated `user` filter back in for a release to allow for a graceful transition
This commit is contained in:
@@ -46,6 +46,7 @@ class FilterServiceProvider extends AbstractServiceProvider
|
||||
PostFilter\IdFilter::class,
|
||||
PostFilter\NumberFilter::class,
|
||||
PostFilter\TypeFilter::class,
|
||||
PostFilter\UserFilter::class,
|
||||
],
|
||||
];
|
||||
});
|
||||
|
Reference in New Issue
Block a user