Possible fix for page order

master
Andrew 1 year ago
parent 4bb0ff51e0
commit cdeaaf307f

@ -39,7 +39,10 @@ class PageService extends SiteService {
}; };
}) })
.sort((a, b) => { .sort((a, b) => {
return a.order < b.order; if (a.order < b.order) {
return a;
}
return b;
}); });
return next(); return next();

Loading…
Cancel
Save