Content-Length: 256974 | pFad | http://github.com/Sefaria/Sefaria-Project/pull/2350

E4 filter out existing notable sources from sources refs by yonadavGit · Pull Request #2350 · Sefaria/Sefaria-Project · GitHub
Skip to content

filter out existing notable sources from sources refs #2350

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

yonadavGit
Copy link
Contributor

This pull request includes a significant change to the static/js/sefaria/sefaria.js file, specifically in the handling of sources in the tabs.sources object. The main update involves filtering out references in tabs.sources.refs that are already present in tabs["notable-sources"].refs.

Improvements to sources handling:

  • static/js/sefaria/sefaria.js: Added a filter to remove references in tabs.sources.refs that are already included in tabs["notable-sources"].refs. This ensures that the sources tab does not duplicate references from the notable-sources tab.

…s and prioritize learning-team data sources in sorting
@yonadavGit yonadavGit force-pushed the bug/sc-32809/sources-added-manually-on-topic-pages-are branch from 5f1a18a to 17d9cc3 Compare February 25, 2025 10:33
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.

2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/Sefaria/Sefaria-Project/pull/2350

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy