Skip to content

Commit aec2533

Browse files
committed
Featured articles can be ordered regardless of category
1 parent f81bf7d commit aec2533

File tree

1 file changed

+1
-1
lines changed
  • administrator/components/com_content/tmpl/articles

1 file changed

+1
-1
lines changed

administrator/components/com_content/tmpl/articles/default.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
</tr>
155155
</thead>
156156
<tbody<?php if ($saveOrder) :
157-
?> class="js-draggable" data-url="<?php echo $saveOrderingUrl; ?>" data-direction="<?php echo strtolower($listDirn); ?>" data-nested="true"<?php
157+
?> class="js-draggable" data-url="<?php echo $saveOrderingUrl; ?>" data-direction="<?php echo strtolower($listDirn); ?>" <?php echo $featured === '1' ? '' : ' data-nested="true"'; ?><?php
158158
endif; ?>>
159159
<?php foreach ($this->items as $i => $item) :
160160
$item->max_ordering = 0;

0 commit comments

Comments
 (0)