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

Strange thumbnail: false condition in the filter-mapper.js #227

Open
marcoleorato opened this issue Aug 20, 2024 · 0 comments
Open

Strange thumbnail: false condition in the filter-mapper.js #227

marcoleorato opened this issue Aug 20, 2024 · 0 comments

Comments

@marcoleorato
Copy link

We had a small issue with the panosc search api at MAX IV, this might be a change happened with the new backend.

When the search api is preparing the filters to query SciCat published data there is a condition for the field thumbnail to be "false" this has been an issue for a few reason, firstly, being that the thumbnail filter is a string meaning the field would be either an empty string or a base64 representation of the thumbnail meaning that no results are ever returned...

This is related to this PR #217 although I feel the idea was to remove the thumbnail from the result not to completely remove the dataset if it has a thumbnail

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

No branches or pull requests

1 participant