Keep current view when switching between folders

This commit is contained in:
johnnyq 2023-09-05 23:16:14 -04:00
parent eb1048ea4a
commit 8fb211c2dc
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ $num_of_files = mysqli_num_rows($sql);
<li class="nav-item">
<div class="row">
<div class="col-10">
<a class="nav-link <?php if ($get_folder_id == $folder_id) { echo "active"; } ?> " href="?client_id=<?php echo $client_id; ?>&folder_id=<?php echo $folder_id; ?>">
<a class="nav-link <?php if ($get_folder_id == $folder_id) { echo "active"; } ?> " href="?client_id=<?php echo $client_id; ?>&folder_id=<?php echo $folder_id; ?>&view=<?php echo $view; ?>">
<?php
if ($get_folder_id == $folder_id) { ?>
<i class="fas fa-fw fa-folder-open"></i>