Removed the dedicated search view, as it is actually too limiting. Added a search field in the album/artists/tracks views. This makes search now work together with sort mode

This commit is contained in:
emeric
2024-05-01 15:21:48 +02:00
parent 971b6d9d08
commit dd5dfaa96e
29 changed files with 132 additions and 418 deletions
+5 -2
View File
@@ -5,7 +5,7 @@
<message id="Lms.Explore.Tracks.template">
<div class="d-flex justify-content-between align-items-center mb-3">
<div class="btn-group">
<div class="btn-group me-1">
${play-btn class="btn btn-primary"}
<button type="button" class="btn btn-primary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-expanded="false"/>
<ul class="dropdown-menu">
@@ -14,7 +14,10 @@
<li>${play-shuffled class="dropdown-item"}</li>
</ul>
</div>
${sort-mode}
<div class="d-flex">
${search class="form-control me-1" type="search"}
${sort-mode}
</div>
</div>
${tracks}
</message>