Skip to content

v1.9.3

Choose a tag to compare

@mxmsmnv mxmsmnv released this 08 May 23:56
· 7 commits to main since this release

1.9.3 — 2026-05-08

Fixed

  • Collection default sort direction ignored$params->sortDir defaults to 'asc' (a non-empty string), so $params->sortDir ?: $collection->sortDir always resolved to 'asc', never falling through to the configured direction. Fixed by checking $input->get('sort') to distinguish an explicit URL sort from the default, and using collection sortBy/sortDir as a pair when no URL sort is present.
  • View icon shown for pages without a template view file — the View action was displayed for any page with a non-empty URL, even when no frontend template file existed, resulting in a 404 on click. Now gated behind $page->viewable().
  • Add button shown when template disallows new pages — the "Add" button appeared regardless of the template's noParents setting. Added canAddNew() to Collection which returns false when noParents = 1 (no new pages) or noParents = -1 and a page with that template already exists (singleton).

Added

  • Sort indicator in selector note — the Selector: details block now shows the active sort field and direction inline (e.g. · Sort: created DESC), reflecting either the URL override or the collection default.