Description
Is there an existing issue for this?
- I have searched the existing issues
What happened?
The procedures: MoveTabBefore and MoveTabAfter, in https://github.com/dnnsoftware/Dnn.Platform/blob/develop/DNN%20Platform/Website/Providers/DataProviders/SqlDataProvider/DotNetNuke.Data.SqlDataProvider do not work correctly in case several tabs (pages) of a parent have the same TabOrder value. It is then not possible to insert a tab into the series of pages with the same TabOrder value.
Steps to reproduce?
- Go to the content tab on the admin panel
- Click on 'Pages'
- Create two or more pages with the same TabOrder value (change the TabOrder value within the database as this change cannot be performed explicitly from the UI)
- Move a page of a different TabOrder value, between two pages of the same TabOrder value.
- Refresh the site
Current Behavior
Home, 404 Error Page, Page One, and Page Two have the same TabOrder value. Attempting to move Activity Feed with a different TabOrder value, between them, fails.
The page with a different TabOrder value (Activity Feed) is moved above all tabs with the same TabOrder value.
Expected Behavior
Activity Feed should be in between 404 Error Page and Page One
Relevant log output
Anything else?
No response
Affected Versions
9.13.6 (latest release)
What browsers are you seeing the problem on?
Chrome, Microsoft Edge
Code of Conduct
- I agree to follow this project's Code of Conduct
Activity