Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2381

Administration Joomla! 4.x • Draggable Ordering Articles Not working

$
0
0
Hello, on a Joomla 4/5 (tested on both) I am not able to order (by drag-drop) articles of a 2nd level category on a multi-language site. As you can see in the attached screenshot: the desired category is selected as well as the desired language.

The drag and drop feature is working, but the new order on articles is not saved. I mean the field #__content.ordering is not changed. After a little digging I found out the following:

* in the file libraries/src/MVC/Model/AdminModel.php
* public function saveorder($pks = [], $order = null) line 1437
* if I comment out the code
foreach ($conditions as $cond) {
$this->table->load($cond[0]);
$this->table->reorder($cond[1]);
}

the new order is saved correctly.

I would be grateful if you could tell me what am I doing wrong ?

Thank you in advance

Statistics: Posted by tt_gr — Wed Mar 13, 2024 8:49 am



Viewing all articles
Browse latest Browse all 2381

Trending Articles