allow empty searchby as well (#15626)

This commit is contained in:
PipoCanaja
2023-12-18 03:13:58 +01:00
committed by GitHub
parent d9595fc90c
commit 01da313228

View File

@@ -46,7 +46,7 @@ class FdbTablesController extends TableController
return [
'port_id' => 'nullable|integer',
'device_id' => 'nullable|integer',
'searchby' => 'in:mac,vlan,dnsname,ip,description,first_seen,last_seen,vendor',
'searchby' => 'in:mac,vlan,dnsname,ip,description,first_seen,last_seen,vendor,',
'dns' => 'nullable|in:true,false',
];
}