Show two rows of applicants on the homepage
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:
@@ -52,7 +52,7 @@ public class IndexModel : PageModel
|
||||
.Where(t => t.Status == ShiftStatus.Open
|
||||
&& t.CreatedAt >= JobsMedical.Web.Services.Scraping.ListingPolicy.TalentCutoffUtc)
|
||||
.OrderByDescending(t => t.CreatedAt)
|
||||
.Take(3)
|
||||
.Take(6) // two rows of the grid-3 «آماده به کار» section
|
||||
.ToListAsync();
|
||||
|
||||
Cities = await _db.Cities.Where(c => c.IsActive).OrderBy(c => c.Name).ToListAsync();
|
||||
|
||||
Reference in New Issue
Block a user