Show two rows of applicants on the homepage
CI/CD / CI · dotnet build (push) Successful in 3m49s
CI/CD / Deploy · hamkadr (push) Successful in 5m7s

Bump the homepage «کادر درمان آماده به کار» section from 3 to 6 latest talent listings, so it fills
two rows of the grid-3 instead of one.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
soroush.asadi
2026-06-23 23:05:41 +03:30
parent 5fcdb8599f
commit a97c556770
+1 -1
View File
@@ -52,7 +52,7 @@ public class IndexModel : PageModel
.Where(t => t.Status == ShiftStatus.Open .Where(t => t.Status == ShiftStatus.Open
&& t.CreatedAt >= JobsMedical.Web.Services.Scraping.ListingPolicy.TalentCutoffUtc) && t.CreatedAt >= JobsMedical.Web.Services.Scraping.ListingPolicy.TalentCutoffUtc)
.OrderByDescending(t => t.CreatedAt) .OrderByDescending(t => t.CreatedAt)
.Take(3) .Take(6) // two rows of the grid-3 «آماده به کار» section
.ToListAsync(); .ToListAsync();
Cities = await _db.Cities.Where(c => c.IsActive).OrderBy(c => c.Name).ToListAsync(); Cities = await _db.Cities.Where(c => c.IsActive).OrderBy(c => c.Name).ToListAsync();