Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
DanieL authored and DanieL committed Feb 20, 2023
1 parent 4122730 commit 25305ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions view/managerVideos_body.php
Original file line number Diff line number Diff line change
Expand Up @@ -332,9 +332,9 @@
$('#grid').bootgrid('reload');
return false;"><i class="fas fa-list"></i> <?php echo __('All Categories'); ?></a></li>
<?php
$categories = Category::getAllCategories(true, true);
$categories_edit = Category::getAllCategories(true);
//var_dump($categories);exit;
foreach ($categories as $key => $value) {
foreach ($categories_edit as $key => $value) {
//$text = "<i class='{$value['iconClass']}'></i> ".__($value['hierarchyAndName'])." ({$value['fullTotal_videos']})";
$text = "<i class='{$value['iconClass']}'></i> ".__($value['hierarchyAndName']);
echo PHP_EOL . '<li><a href="#" onclick="filterCategory=\'' . $value['clean_name'] . '\'; $(\'.activeFilterCategory\').html(\'' . addcslashes($text, "'") . '\'); $(\'.tooltip\').tooltip(\'hide\');$(\'#grid\').bootgrid(\'reload\');return false;">' . $text . '</a></li>';
Expand Down

0 comments on commit 25305ff

Please sign in to comment.