xowiki::utility proc change_page_order (public)

 xowiki::utility[i] change_page_order -from from  -to to  [ -clean clean ] \
    -folder_id folder_id  -package_id package_id  \
    [ -publish_status publish_status ]

Defined in /var/www/openacs.org/packages/xowiki/tcl/xowiki-utility-procs.tcl

Update page_order attributes for pages by renumbering and filling gaps.

Switches:
-from (required)
list of page_orders before a move/insert operation
-to (required)
list of page_orders after a move/insert operation
-clean (optional)
list of page_orders for insert operations, to update the hierarchy from where items were moved to the new hierarchy.
-folder_id (required)
-package_id (required)
-publish_status (optional, defaults to "ready|live|expired")

Testcases:
No testcase defined.
[ show source ]
Show another procedure: