Web more fixes #108

Merged
RecentRunner merged 5 commits from web-more-fixes into main 2026-04-03 18:13:18 -06:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 99855a6e99 - Show all commits

View File

@@ -30,7 +30,7 @@ export default function AdoptPage() {
const params = new URLSearchParams({
page: String(page),
size: String(PAGE_SIZE),
sort: "petId,asc",
sort: "id,asc",
status: "Available",
});
if (query) {

View File

@@ -249,7 +249,7 @@ function AppointmentsPage() {
.then((data) => setServices(data.content ?? []))
.catch(() => {});
fetch(`${API_BASE}/api/v1/pets?size=200&sort=petId,asc`)
fetch(`${API_BASE}/api/v1/pets?size=200&sort=id,asc&status=Available`)
.then((r) => r.json())
.then((data) => setAllPets(data.content ?? []))
.catch(() => {});