Browse Source

Sort categories alphabetically in 'Categories' view

pull/656/head
Robert Riebisch 2 years ago
committed by GitHub
parent
commit
92f272d20e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      system/admin/views/categories.html.php

+ 4
- 1
system/admin/views/categories.html.php View File

@ -1,5 +1,8 @@
<?php if (!defined('HTMLY')) die('HTMLy'); ?> <?php if (!defined('HTMLY')) die('HTMLy'); ?>
<?php $desc = get_category_info(null); ?>
<?php
$desc = get_category_info(null);
asort($desc);
?>
<h2><?php echo i18n("Categories");?></h2> <h2><?php echo i18n("Categories");?></h2>
<br> <br>
<a class="btn btn-primary " href="<?php echo site_url();?>add/category"><?php echo i18n('Add_category');?></a> <a class="btn btn-primary " href="<?php echo site_url();?>add/category"><?php echo i18n('Add_category');?></a>


Loading…
Cancel
Save