Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-7152

problem in drag and drop in course including block sharing cart

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.3.3
    • Block: Sharing cart
    • None
    • 3.3
    • MOODLE_33_STABLE

      when I tried to drag and drop the activity in course it failed so I found out there were bugs in the javascript of the sharing cart block so I upgrade it to 3.3 and when I enter the course again It show a bug in the query on controller.php 

       
      $records = $DB->get_records_sql(
       "SELECT
       {block_sharing_cart}.*,
       `fullname` AS 'coursefullname'
       FROM {block_sharing_cart}
       LEFT JOIN {course}
       ON {block_sharing_cart}.`course` = {course}.`id`
       WHERE `userid` = ?", array($USER->id)); 

      replace it with :

      $records = $DB->get_records_sql(
       "SELECT
       {block_sharing_cart}.*,
       fullname AS coursefullname
       FROM {block_sharing_cart}
       LEFT JOIN {course}
       ON {block_sharing_cart}.course = {course}.id
       WHERE userid = ?", array($USER->id));

            ver2ons Akio Ohnishi (Inactive)
            chenlevy Chen Levy
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.