|
@@ -16,6 +16,9 @@ class FileTypeApi {
|
|
|
$limit = $params["limit"] ?: 10;
|
|
|
$offset = $params["offset"] ?: 0;
|
|
|
$where[] = ["delete", "=", 0];
|
|
|
+ if ($params["name"]) {
|
|
|
+ $where[] = ["name", "like", "%" . $params["name"] . "%"];
|
|
|
+ }
|
|
|
if ($params["project"]) {
|
|
|
$where[] = ["project", "=", $params["project"]];
|
|
|
}
|