Fix medicine search cache key format
This commit is contained in:
parent
5c5d6694c0
commit
5f35d22f86
|
|
@ -4505,7 +4505,7 @@ class Opd_prescription extends BaseController
|
||||||
}
|
}
|
||||||
|
|
||||||
$userId = (int) ($this->getCurrentUserId() ?? 0);
|
$userId = (int) ($this->getCurrentUserId() ?? 0);
|
||||||
$cacheKey = 'medicine_search:v2:' . md5(json_encode([
|
$cacheKey = 'medicine_search_v2_' . md5(json_encode([
|
||||||
'q' => strtoupper($q),
|
'q' => strtoupper($q),
|
||||||
'scope' => $scope,
|
'scope' => $scope,
|
||||||
'user' => $userId,
|
'user' => $userId,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user