Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove filter from library collection type options #44

Merged
merged 1 commit into from
Jan 20, 2019

Conversation

cvium
Copy link
Member

@cvium cvium commented Jan 19, 2019

It's never set apparently. And it broke in #27 because it was assumed it would be set. The old implementation only checked specifically for false.

@cvium cvium force-pushed the fix_library_content_type branch from e06d0ca to a04ba7b Compare January 19, 2019 20:46
@@ -42,11 +42,9 @@ define(["loading", "dialogHelper", "dom", "jQuery", "components/libraryoptionsed
}

function getCollectionTypeOptionsHtml(collectionTypeOptions) {
return collectionTypeOptions.filter(function(i) {
return i.isSelectable
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the functionality still exist / can isSelectable end up false? If so I would recommend adding i.isSelectable !== false back in :)
Edit: plus a comment so it doesn't regress again

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can just re-add it then. Right now it's just clutter imo.

@joshuaboniface joshuaboniface merged commit 791d1ea into jellyfin:dev Jan 20, 2019
@cvium cvium deleted the fix_library_content_type branch January 20, 2019 12:35
@joshuaboniface joshuaboniface mentioned this pull request Jan 21, 2019
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Oct 2, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: f563fce
Status: ✅  Deploy successful!
Preview URL: https://79798108.jf-web.pages.dev

View logs

Copy link

cloudflare-workers-and-pages bot commented Aug 8, 2024

Deploying jellyfin-web with  Cloudflare Pages  Cloudflare Pages

Latest commit: e96c140
Status: ✅  Deploy successful!
Preview URL: https://624df5e3.jellyfin-web.pages.dev
Branch Preview URL: https://branch-dzvy94k1eo.jellyfin-web.pages.dev

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants