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

Hide records which have no file attached, only if imported from HEG #464

Closed
sebdeleze opened this issue Feb 3, 2021 · 0 comments · Fixed by #466
Closed

Hide records which have no file attached, only if imported from HEG #464

sebdeleze opened this issue Feb 3, 2021 · 0 comments · Fixed by #466
Labels
bug Breaks something but is not blocking f: editor Concerns editor based on JSON schema AND custom editor

Comments

@sebdeleze
Copy link
Contributor

No description provided.

@sebdeleze sebdeleze added bug Breaks something but is not blocking f: editor Concerns editor based on JSON schema AND custom editor labels Feb 3, 2021
sebdeleze pushed a commit that referenced this issue Feb 12, 2021
Adds a property to hide records in public views. This is needed for example for HEG, when a record has no file attached.

* Adds the `hiddenToPublic` property to documents.
* Does not search for records having the flag activated.
* Throws a 404 in detail view when the flag is activated.
* Removes empty properties when `Unpaywall` record is serialized.
* Flags HEG record as hidden if no file is linked to it.
* Closes #464.

Co-Authored-by: Sébastien Délèze <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Breaks something but is not blocking f: editor Concerns editor based on JSON schema AND custom editor
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant