Fix usage count.
Compare changes
+ 4
− 4
@@ -383,11 +383,11 @@ class ParagraphsStats {
@@ -383,11 +383,11 @@ class ParagraphsStats {
IF(t.cnt > :ul4, 4, IF(t.cnt > :ul3, 3, IF(t.cnt > :ul2, 2, IF(t.cnt > :ul1, 1, 0)))) as usage_level
GROUP BY ti.id, ti.status, ti.parent_id, ti.type, ti.parent_field_name, ti.parent_type, ti.entity_type, ti.is_active
@@ -458,14 +458,14 @@ class ParagraphsStats {
@@ -458,14 +458,14 @@ class ParagraphsStats {