1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-12 09:44:38 +02:00

Add support for a $page->sortPrevious property, which is populated with the old value when a page's sort value is changed at runtime.

This commit is contained in:
Ryan Cramer
2024-01-12 11:45:31 -05:00
parent ef4444dd7f
commit 98fe7f94a0
2 changed files with 16 additions and 2 deletions

View File

@@ -137,6 +137,7 @@ abstract class PageProperties {
'rootParent' => 'm',
'siblings' => 'm',
'sort' => 's',
'sortPrevious' => 'p',
'sortable' => 'm',
'sortfield' => 's',
'status' => 's',