Open jklue opened 2 years ago
@lukehatfield We apologize for the delay. We can reproduce the issue. But this seems unlikely to be resolved. Because it is not possible for Kirby to dynamically pull the sort of the pages from a setting in a block. Do you have an solution?
Thanks @afbora, I added an elseif
starting on line 29 to the sort field check so we could skip the ->sort() on line 48. Then I added a check for null
at the end to skip sorting. Don't know why it didn't work, but this seems to work better.
On a Posts template page, the subpages block Sort field has "Sort" as an option but doesn't allow me to re-order the posts manually. These are naturally sorted by date.