dedicated search_link() function for generating links to search results, see #936

This commit is contained in:
Shish
2023-08-18 13:38:55 +01:00
committed by Shish
parent 23e36b4349
commit 43c7be0e89
25 changed files with 54 additions and 43 deletions

View File

@@ -97,7 +97,7 @@ class Trash extends Extension
{
global $user;
if ($user->can(Permissions::VIEW_TRASH)) {
$event->add_link("Trash", make_link("/post/list/in%3Atrash/1"), 60);
$event->add_link("Trash", search_link(["in:trash"]), 60);
}
}