Skip to content
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

Merged
merged 2 commits into from
Feb 16, 2016
Merged

Fix Drag&Drop sorting #9049

merged 2 commits into from
Feb 16, 2016

Conversation

renekorss
Copy link
Contributor

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

Fix sorting if there is items with different heights. Bug occured only
for moving high item up.
@brianteeman
Copy link
Contributor

I can not replicate this issue

@renekorss
Copy link
Contributor Author

@brianteeman You created on article with very long title and moving it up results in ordering 1, 2, 3? Not 1, 1, 3?

@brianteeman
Copy link
Contributor

Yes and Yes

@brianteeman
Copy link
Contributor

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

@brianteeman
Copy link
Contributor

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.

@svenbluege
Copy link
Contributor

With this fix applied I can't reproduce the issue in #8861. I confirm this fix is working.

@wojsmol
Copy link
Contributor

wojsmol commented Feb 2, 2016

@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.

@svenbluege
Copy link
Contributor

I have tested this item ✅ successfully on 4b8325e


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9049.

@svenbluege
Copy link
Contributor

@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.

@wojsmol
Copy link
Contributor

wojsmol commented Feb 2, 2016

@svenbluege Now everything is correctly.

@brianteeman
Copy link
Contributor

I have tested this item ✅ successfully on 4b8325e


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9049.

@brianteeman
Copy link
Contributor

RTC - thanks


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9049.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Feb 2, 2016
@wilsonge
Copy link
Contributor

@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?

@renekorss
Copy link
Contributor Author

@wilsonge Yes, correct. I can fix it, when I get to computer.

@joomla-cms-bot
Copy link

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.

@renekorss
Copy link
Contributor Author

@wilsonge Conflicts fixed.

@roland-d roland-d added this to the Joomla! 3.5.0 milestone Feb 16, 2016
roland-d added a commit that referenced this pull request Feb 16, 2016
@roland-d roland-d merged commit bc85dbf into joomla:staging Feb 16, 2016
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Feb 16, 2016
@renekorss renekorss deleted the patch-1 branch February 16, 2016 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SortableList.js: Drag&Drop sorting does not work with lines/elements of different height
7 participants