diff --git a/static/js/NavSidebar.jsx b/static/js/NavSidebar.jsx index 920bab3535..220e05779b 100644 --- a/static/js/NavSidebar.jsx +++ b/static/js/NavSidebar.jsx @@ -92,8 +92,10 @@ const RecentlyViewedItem = ({oref}) => { const trackItem = () => { gtag('event', 'recently_viewed', {link_text: oref.ref, link_type: 'ref'}) } + const params = Sefaria.util.getUrlVersionsParams(oref.versions); + const url = "/" + Sefaria.normRef(oref.ref) + (params ? "?" + params : ""); return