Both articles keep the order you establish
The articles did not respect the order you established, and back to the same initial order they had.
A fresh J4.0.3 site in: https://launch.joomla.org/
If you do the same, but having both articles in the same category, all work as expected.
Labels |
Added:
No Code Attached Yet
|
In the menu item you need to set Category to no-order and Articles to featured-order
But this is also needed for the administrator area? What I reporting here is only inside the administrator area, not in the frontend where that menu item should have effect.
Anyway, I tested and after create a menu item in a fresh 4.0.3, who have this options you mention, do not cause any change.
Sorry I misunderstood your original post
@brianteeman is okay, maybe I did not explain myself as good as I though. I trying find the problem, but so far the method saveOrderAjax(
) and saveorder($pks = array(), $order = null)
look good. Seen is some kind of js problem...somehow do not let the table->store()
, save the correct values in the frontpage table
when the articles come from a different category.
But then, all work okay when come from the same category and that make the js assumption invalid.
In all my sites, the users use this view, so is kind of a critical problem for me.
Title |
|
@carlitorweb can you test removing the data-draggable-group="<?php echo $item->catid; ?>"
from
@carlitorweb can you test removing the
data-draggable-group="<?php echo $item->catid; ?>"
from
It worked like a charm! You save my day, thank you. Do you think this change could cause any break in other place? I do not think can cause any problem, but just for be sure
No, that piece of code shouldn’t be there in that view. How do I know? I wrote the first version of drag and drop
@carlitorweb if you can mark your successful test in the issues.joomla.org the fix would be available in one of the next versions. The PR is #35741
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-10-03 18:44:13 |
Closed_By | ⇒ | richard67 |
In the menu item you need to set Category to no-order and Articles to featured-order