Skip to content

Commit

Permalink
Merge pull request #1812 from Sefaria/community-page-fix
Browse files Browse the repository at this point in the history
fix(community page): change api param options["filtered"] to 1 rather…
  • Loading branch information
edamboritz authored Feb 29, 2024
2 parents cf1af67 + d55335a commit bc6c458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/CommunityPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ CommunityPage.propTypes = {

const RecentlyPublished = ({multiPanel, toggleSignUpModal}) => {
const options = Sefaria.interfaceLang === "hebrew" ? {"lang": "hebrew"} : {};
options["filtered"] = true;
options["filtered"] = 1;
const pageSize = 18;
const [nSheetsLoaded, setNSheetsLoded] = useState(0); // counting sheets loaded from the API, may be different than sheets displayed
// Start with recent sheets in the cache, if any
Expand Down

0 comments on commit bc6c458

Please sign in to comment.