Learnpath: Fix exercises preview, edit or delete view with exercises and categories

Author: @BorjaSanchezBeezNest
pull/4563/head^2
Borja Sánchez 3 years ago committed by GitHub
parent ac26113e45
commit 004d20c214
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      public/main/lp/learnpath.class.php

@ -7839,7 +7839,7 @@ class learnpath
// Get the lp_item_view with the highest view_count.
$learnpathItemViewResult = $em
->getRepository('ChamiloCourseBundle:CLpItemView')
->getRepository(CLpItemView::class)
->findBy(
['item' => $rowItem->getIid(), 'view' => $lpViewId],
['viewCount' => 'DESC'],

Loading…
Cancel
Save