Admin-Ausruestung: Filter-Formular nutzt url() statt undefiniertem $base (404 unter base_path)
This commit is contained in:
parent
a10272aa48
commit
4691f4413a
2 changed files with 26 additions and 6 deletions
|
|
@ -381,7 +381,12 @@ function page_handle(string $method, string $path): void
|
|||
redirect('/admin/skills');
|
||||
}
|
||||
if ($path === '/admin/equipment') {
|
||||
$catalogFilters = ['kind' => query_string('kind'), 'needle' => query_string('q'), 'limit' => 400];
|
||||
$catalogFilters = [
|
||||
'kind' => query_string('kind'),
|
||||
'availability' => query_string('avail'),
|
||||
'needle' => query_string('q'),
|
||||
'limit' => 400,
|
||||
];
|
||||
render_page('admin_equipment', [
|
||||
'weapons' => weapons_catalog(),
|
||||
'armors' => armors_catalog(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue