Minor fixes for filters

This commit is contained in:
David Bomba 2022-10-14 09:18:28 +11:00
parent aa68bc2567
commit 0ce2578b8c
4 changed files with 5 additions and 5 deletions

View File

@ -1 +1 @@
5.5.31 5.5.32

View File

@ -28,7 +28,7 @@ class ClientFilters extends QueryFilters
* @param string $name * @param string $name
* @return Builder * @return Builder
*/ */
public function name(string $name): Builder public function name(string $name = ''): Builder
{ {
if(strlen($name) >=1) if(strlen($name) >=1)
return $this->builder->where('name', 'like', '%'.$name.'%'); return $this->builder->where('name', 'like', '%'.$name.'%');

View File

@ -40,7 +40,7 @@ return [
/* /*
* Route for accessing parsed swagger annotations. * Route for accessing parsed swagger annotations.
*/ */
'docs' => 'docs', 'docs' => 'swagger-docs-that-should-be-inaccessible',
/* /*
* Route for Oauth2 authentication callback. * Route for Oauth2 authentication callback.

View File

@ -14,8 +14,8 @@ return [
'require_https' => env('REQUIRE_HTTPS', true), 'require_https' => env('REQUIRE_HTTPS', true),
'app_url' => rtrim(env('APP_URL', ''), '/'), 'app_url' => rtrim(env('APP_URL', ''), '/'),
'app_domain' => env('APP_DOMAIN', 'invoicing.co'), 'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
'app_version' => '5.5.31', 'app_version' => '5.5.32',
'app_tag' => '5.5.31', 'app_tag' => '5.5.32',
'minimum_client_version' => '5.0.16', 'minimum_client_version' => '5.0.16',
'terms_version' => '1.0.1', 'terms_version' => '1.0.1',
'api_secret' => env('API_SECRET', ''), 'api_secret' => env('API_SECRET', ''),