Fixes for cache issues.

This commit is contained in:
stephb9959
2021-12-22 21:54:03 -08:00
parent d27441d793
commit e8cf7a6f21
4 changed files with 31 additions and 10 deletions

View File

@@ -32,11 +32,11 @@ namespace OpenWifi {
}
return ReturnObject(Answer);
} else {
Types::StringVec IDs = Utils::Split(QB_.Select);
Poco::JSON::Array ArrayObj;
for(auto &i:IDs) {
for(auto &i:SelectedRecords()) {
SecurityObjects::UserInfo UInfo;
if(StorageService()->GetUserById(i,UInfo)) {
auto tI{i};
if(StorageService()->GetUserById(tI,UInfo)) {
Poco::JSON::Object Obj;
if (IdOnly) {
ArrayObj.add(UInfo.Id);