Skip to content
Permalink
Browse files

Fix catalogue subcat ordering bug

  • Loading branch information...
chrisgraham committed Jul 16, 2019
1 parent 7009218 commit 4ed4d8240449968c331b5db58aeb4df0d2f01d17
Showing with 2 additions and 2 deletions.
  1. +2 −2 site/pages/modules/catalogues.php
@@ -1069,9 +1069,9 @@ public function view_catalogue_category()
// Get category contents
if (get_value('cc_sort_date__' . $catalogue_name) !== '1') {
$cc_sort = 'recent ASC';
$cc_sort = 'title ASC';
} else {
$cc_sort = 'title';
$cc_sort = 'recent ASC';
}
$subcategories = do_block('main_multi_content', array('param' => 'catalogue_category', 'select' => strval($id) . '>', 'efficient' => '0', 'zone' => get_zone_name(), 'sort' => $cc_sort, 'max' => get_option('catalogue_subcats_per_page'), 'no_links' => '1', 'pagination' => '1', 'give_context' => '0', 'include_breadcrumbs' => '0', 'attach_to_url_filter' => '1', 'render_if_empty' => '0', 'guid' => 'module'));
if (get_option('catalogues_subcat_narrowin') == '1') {

0 comments on commit 4ed4d82

Please sign in to comment.
You can’t perform that action at this time.