Skip to content

[4.0] Auto-ordering on item saving Not working #23905

@sakiss

Description

@sakiss

Steps to reproduce the issue

Use the \Joomla\CMS\Table\Table::save inside your Model

This function is meant abstract all the functions for saving an item (bind, check, store).
In case it gets as 2nd parameter the ordering field name ($orderingFilter), it is supposed to re-order the item, based on the existing rows in the table.

Expected result

Give a proper/incremental ordering number

Actual result

No number.
localhost_filters

System information (as much as possible)

Joomla 4.0 alpha6

Additional comments

Actual function that does the re-ordering
\Joomla\CMS\Table\Table::reorder

Metadata

Metadata

Assignees

Labels

J4 IssueNo Code Attached YetUpdates RequestedIndicates that this pull request needs an update from the author and should not be tested.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions