← Back to team overview

mahara-contributors team mailing list archive

[Bug 1523719] Re: Sorting blocks in column not working correctly

 

Some more info:

Eg if you have blocks stacked like this:

Alpha
Beta
Charlie
Delta
Echo
Foxtrox

And you move/drop "Beta" between "Echo" and "Foxtrox" you get this:
Screen state     | Database state
--------------------+----------------
Alpha                  | Alpha
Charlie               | Charlie
Delta                 | Delta
Echo                  | Beta
Beta                   | Echo
Foxtrox             | Foxtrot

You expect "Beta" to now be in the 5th position, and it is on the
screen, but instead it's in the "4th" position in the database

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1523719

Title:
  Sorting blocks in column not working correctly

Status in Mahara:
  In Progress
Status in Mahara 1.10 series:
  New
Status in Mahara 15.04 series:
  New
Status in Mahara 15.10 series:
  New

Bug description:
  If I have a column with 6 blocks in them labelled from top to bottom 1
  to 6 and I move the block numbered 2 to the position between 5 and 6 I
  expect block 2 to now be in position 5. But if I refresh the page the
  block is in position 4.

  Things look to work fine when I move a block up/down one position or
  to the first/last positions though.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1523719/+subscriptions


References