-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Drag&Drop sorting #9049
Fix Drag&Drop sorting #9049
Conversation
Fix sorting if there is items with different heights. Bug occured only for moving high item up.
I can not replicate this issue |
@brianteeman You created on article with very long title and moving it up results in ordering 1, 2, 3? Not 1, 1, 3? |
Yes and Yes |
After playing a bit more and doublechecking with the database entries I was able to get it to misbehave once - where the DB entry did not match the visual display. I applied the patch and retested and couldnt replicate the bug anymore so this is a good test |
To anyone else testing make sure you check the value of the ordering column in the database This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9049. |
With this fix applied I can't reproduce the issue in #8861. I confirm this fix is working. |
@svenbluege Please mark test results on https://issues.joomla.org/tracker/joomla-cms/9049 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9049. |
I have tested this item ✅ successfully on 4b8325e This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9049. |
@wojsmol Done. First time for me so let me know if there is more todo. This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9049. |
@svenbluege Now everything is correctly. |
I have tested this item ✅ successfully on 4b8325e This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9049. |
RTC - thanks This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9049. |
@renekorss There are conflicts here - can you please fix them :) If not then to confirm https://github.com/joomla/joomla-cms/pull/9049/files#diff-0f3028a8e62b1bde4dd60f2a5af107b0R225 is the only line that has changed right? |
@wilsonge Yes, correct. I can fix it, when I get to computer. |
This PR has received new commits. CC: @brianteeman, @svenbluege This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9049. |
@wilsonge Conflicts fixed. |
Fix sorting if there is items with different heights. Bug occured only for moving higher item up. Now respects height of moved item.
fixes #8861