[PLUGIN][NoteTypeFilter] Always show filtering options
This commit is contained in:
parent
b1abd81aca
commit
57604b3851
@ -141,7 +141,6 @@ class NoteTypeFeedFilter extends Plugin
|
||||
*/
|
||||
public function onAddFeedActions(Request $request, bool $is_not_empty, &$res): bool
|
||||
{
|
||||
if ($is_not_empty) {
|
||||
$qs = [];
|
||||
parse_str($request->getQueryString(), $qs);
|
||||
if (\array_key_exists('p', $qs) && \is_string($qs['p'])) {
|
||||
@ -171,7 +170,6 @@ class NoteTypeFeedFilter extends Plugin
|
||||
}
|
||||
|
||||
$res[] = Formatting::twigRenderFile('NoteTypeFeedFilter/tabs.html.twig', ['tabs' => $tabs]);
|
||||
}
|
||||
return Event::next;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user