diff --git a/Marco.Pms.Services/Service/ProjectServices.cs b/Marco.Pms.Services/Service/ProjectServices.cs
index 6321714..7689898 100644
--- a/Marco.Pms.Services/Service/ProjectServices.cs
+++ b/Marco.Pms.Services/Service/ProjectServices.cs
@@ -52,7 +52,8 @@ namespace Marco.Pms.Services.Service
_mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
}
- #region =================================================================== Project Get APIs ===================================================================
+ #region =================================================================== Project Get APIs ===================================================================\
+
///
/// Retrieves a combined list of basic infrastructure and active service projects accessible by the logged-in employee within a tenant.
///
@@ -84,7 +85,8 @@ namespace Marco.Pms.Services.Service
{
var normalized = searchString.Trim().ToLowerInvariant();
infraProjectsQuery = infraProjectsQuery
- .Where(p => p.Name.ToLower().Contains(normalized));
+ .Where(p => p.Name.ToLower().Contains(normalized) ||
+ (!string.IsNullOrWhiteSpace(p.ShortName) && p.ShortName.ToLower().Contains(normalized)));
}
var infraProjects = await infraProjectsQuery.ToListAsync();
@@ -102,7 +104,8 @@ namespace Marco.Pms.Services.Service
{
var normalized = searchString.Trim().ToLowerInvariant();
serviceProjectsQuery = serviceProjectsQuery
- .Where(sp => sp.Name.ToLower().Contains(normalized));
+ .Where(sp => sp.Name.ToLower().Contains(normalized) ||
+ (!string.IsNullOrWhiteSpace(sp.ShortName) && sp.ShortName.ToLower().Contains(normalized)));
}
var serviceProjects = await serviceProjectsQuery.ToListAsync();
@@ -127,7 +130,6 @@ namespace Marco.Pms.Services.Service
return ApiResponse