-
Notifications
You must be signed in to change notification settings - Fork 493
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
On the Dataset Page, Filter Tags and File Types containing Spaces #5972
Comments
Tested, works. |
Hi All, Does this error also related to this issue? Thanks a bunch. Usman. Subject metadata: Forest Management & Restoration (FMR) dataverse-4.15\logs\server.log: |
@umuchlish I believe your issue might be different. I wonder if the "&" is causing you trouble. Can you please give us step by step instructions on how to reproduce the error you're seeing? |
Hi @pdurbin, I am not sure what triggered the Error, it's just appear after I finished the upgrade process. |
Thanks Phil. I found the culprit, its came from the API Search request without encode the & symbol. |
@umuchlish do you have a fix then? If so, is it a code change? Or something we should document in the guides? |
No Need Phil, its from external request that triggered by project website. Thank you Phil. |
Tags and File Types with spaces aren't being filtered. This was patched in dataverse.harvard.edu this evening. In filesFragment.xhtml, we need to change:
<f:param name="fileTag" value="#{facetLabel.name}"/>
to
<f:param name="fileTag" value='"#{facetLabel.name}"'/>
and
<f:param name="fileTypeGroupFacet" value="#{facetLabel.name}"/>
to
<f:param name="fileTypeGroupFacet" value='"#{facetLabel.name}"'/>
The text was updated successfully, but these errors were encountered: