We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4e9a4a3 + 577e80e commit be70845Copy full SHA for be70845
src/App/Models/RemoteType.php
@@ -81,7 +81,7 @@ private function fetchData(?string $value = null, bool $search = false)
81
public function getRemoteData(?string $identifierValue = null)
82
{
83
$cacheKey = 'remote_custom_field_' . $this->id;
84
- if (config('asseco-custom-fields.should_cache_remote') && Cache::has($cacheKey)) {
+ if (!$identifierValue && config('asseco-custom-fields.should_cache_remote') && Cache::has($cacheKey)) {
85
return Cache::get($cacheKey);
86
}
87
0 commit comments