Lessons lose ordering upon update
-
PHP 7.4
Wordpress 5.7.2
Sensei LMS 3.11.0Step to reproduce:
– Create a Course
– Add a lesson named “Lesson 1”
– Add a lesson named “Lesson 3”
– Add a lesson named “Lesson 2”
– Publish Course and all Lessons
– Go to Lessons > Order Lessons and move Lesson 2 in second position
– Edit Lesson 2 and click update button
– Lessons order is now lost and reset to the lesson creation dates (ie Lesson 2 is now 3rd again)Workaround: In database, update the lessons post_date in the wp_posts table to make them create in the right chronological order (ie lesson 1 post date < lesson 2 post_date < lesson 3 post_date).
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Lessons lose ordering upon update’ is closed to new replies.