Commit Graph

4 Commits

Author SHA1 Message Date
Marc Alexander
c7b71f8c0a [ticket/216] Add move_module_left and move_module_right to unit tests
These methods are now covered by unit tests. They might need to be
stripped a little bit as the code coverage report currently states that
some part of the code is never hit.

B3P-216
2014-02-11 23:00:28 +01:00
Marc Alexander
feb2f52d4d [ticket/216] Methods for last module order and handle_after_move()
The method for getting the last module order will return the last module
order in a column. handle_after_move() will take care of return an error
to the user or redirecting if the move was successful.

B3P-216
2014-02-11 22:05:55 +01:00
Marc Alexander
2909976697 [ticket/216] Use get_move_module_data() for acquiring module data for moving
This will get rid of a query code that was duplicated over 4 methods in
portal_module.

B3P-216
2014-02-09 16:23:46 +01:00
marc1706
68cd966f3b [ticket/212] Add tests for moving modules
B3P-212
2014-02-06 22:50:56 +01:00