mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Change catalog filter to "Free Only"
This commit is contained in:
parent
58742183c1
commit
fffc06da70
2 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@
|
||||||
<h3>Pricing:</h3>
|
<h3>Pricing:</h3>
|
||||||
</legend>
|
</legend>
|
||||||
<input class="chkPremiumFilter" type="checkbox" name="chkPremium" id="chkPremium" data-theme="c" data-filter="IsPremium">
|
<input class="chkPremiumFilter" type="checkbox" name="chkPremium" id="chkPremium" data-theme="c" data-filter="IsPremium">
|
||||||
<label for="chkPremium">Premium</label>
|
<label for="chkPremium">Free Only</label>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -105,7 +105,7 @@
|
||||||
$('.chkPremiumFilter', page).on('change', function () {
|
$('.chkPremiumFilter', page).on('change', function () {
|
||||||
|
|
||||||
if (this.checked) {
|
if (this.checked) {
|
||||||
query.IsPremium = true;
|
query.IsPremium = false;
|
||||||
} else {
|
} else {
|
||||||
query.IsPremium = null;
|
query.IsPremium = null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue