react-version #1

Merged
memartel merged 290 commits from react-version into main 2023-11-04 09:48:15 -04:00
Showing only changes of commit 81f32c630b - Show all commits

View File

@@ -79,7 +79,7 @@ public class InventoryController : Controller {
if (order.Contains("Desc")) {
if (!lastId.HasValue)
lastId = _context.Products.Max(x => x.Id);
ret = ret.Where(x => x.Id < lastId && x.Id > lastId - 5)
ret = ret.Where(x => x.Id < lastId && x.Id > lastId - 5);
} else {
if (!lastId.HasValue)
lastId = 1;