ajout filtre et tri pour artiste

This commit is contained in:
2024-06-10 12:26:53 +02:00
parent cf30176e41
commit 1b94b73851
5 changed files with 151 additions and 6 deletions

View File

@@ -72,7 +72,8 @@
window.location.href = url;
}
</script>
<?php $page = preg_split('/[\/]/',$_SERVER['REQUEST_URI']);
if($page[count($page)-2] != 'viewAlbum'){ ?>
<h5>Filter Albums</h5>
<button type="button" onclick="toggleFilterOptions()">Filter</button>
@@ -127,7 +128,7 @@
<button onclick="sortAlbums('genreName', 'asc')">Sort by Genre Asc</button>
<button onclick="sortAlbums('genreName', 'desc')">Sort by Genre Desc</button>
</div>
<?php } ?>
<h5>Albums list</h5>
<section class="list">