Closed robinscholz closed 5 years ago
Describe the bug The sort order of site images is not respected in the generated JSON. Instead images are returned alphabetically.
To reproduce Steps to reproduce the behavior:
title: Site columns: - width: 1/2 sections: albums: sections/albums images: type: files query: site.files layout: cards template: image - width: 1/2 sections: notes: sections/notes pages: type: pages create: default template: - about - home - default
/api/site?select=files
Expected behavior Images should be included in the array in the correct sorting order
Kirby Version 3.0.2
Desktop (please complete the following information):
Additional context Add any other context about the problem here.
✅
Describe the bug The sort order of site images is not respected in the generated JSON. Instead images are returned alphabetically.
To reproduce Steps to reproduce the behavior:
/api/site?select=files
Expected behavior Images should be included in the array in the correct sorting order
Kirby Version 3.0.2
Desktop (please complete the following information):
Additional context Add any other context about the problem here.