Skip to content

Commit

Permalink
Change ordering of the smartlist filters a bit
Browse files Browse the repository at this point in the history
Placing the Favorite filter above the History filter looks nicer.
  • Loading branch information
paulijar committed Jun 18, 2024
1 parent 3377c3e commit c9b6d68
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions templates/partials/sidebar/smartlistfilters.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@
</select>
</div>
<div>
<label for="filter-favorite" translate>Favorite</label>
<select id="filter-favorite" ng-model="smartListParams.favorite">
<option value=""></option>
<option value="track" translate>Favorite track</option>
<option value="album" translate>Favorite album</option>
<option value="artist" translate>Favorite artist</option>
<option value="track_album_artist" translate>Favorite track, album, or artist</option>
</select>
</div>
<div title="{{ 'Note that this selection makes any difference only when the library has more than the requested number of matches. In the strict mode, only the best matching songs are included with no element of randomness.' | translate }}">
<label for="filter-history" translate>History</label>
<select id="filter-history" ng-model="smartListParams.history">
Expand All @@ -43,16 +54,5 @@
<input id="filter-history-strict" type="checkbox" ng-model="smartListParams.historyStrict" />
</div>
<div>
<label for="filter-favorite" translate>Favorite</label>
<select id="filter-favorite" ng-model="smartListParams.favorite">
<option value=""></option>
<option value="track" translate>Favorite track</option>
<option value="album" translate>Favorite album</option>
<option value="artist" translate>Favorite artist</option>
<option value="track_album_artist" translate>Favorite track, album, or artist</option>
</select>
</div>
<div><button id="update-button" ng-click="onUpdateButton()" ng-disabled="!fieldsValid" translate>Update</button></div>
</div>

0 comments on commit c9b6d68

Please sign in to comment.