Issue Bug Closed

#24656Wizard sort pages corrupts the navigation title

Xavier Perseguers 01/19/11, 08:09 updated 01/19/11, 09:27

Description

When using the sort pages wizard (Web > Functions > Sort pages), and typically sorting pages by title, the pages that are being sorted end up having their nav_title field populated by a counter value (except for the very first page after the sort).

Beware: this only occurs if navigation title is not set!

How to reproduce:

Take a subtree with 3 pages (showing empty nav_title as “þ” / title hereafter):

subtree |—- þ / Bug me |—- þ / Change
`—- þ / After all

You end up having this after the page sort (showing nav_title / title hereafter)

subtree |—- þ / After all |—- 0 / Bug me
`—- 1 / Change

I however the nav_title is set, this problem does not occur.
(issue imported from #M17134)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.