- Issue created by @robertoperuzzo
Currently, the system does not identify which collections have curations configured.
As a result, it is not possible to know for which collections the parameter
enable_overrides
should be enabled.
This means that curations can only be activated globally for all collections,
or must be manually handled by the frontend, which reduces flexibility and maintainability.
enable_overrides
only where needed.
Introduce a way to flag collections that have curations enabled.
For example, add a has_curations
parameter to
collection_render_parameters
.
This parameter would then be available in Twig templates,
allowing the frontend to implement different UX behaviors based on whether
curations are available for a specific collection.
Additionally, the system could automatically set enable_overrides
only for those collections where has_curations
is true.
has_curations
incollection_render_parameters
.enable_overrides
only where needed.
No direct UI changes, but Twig templates will have access to
has_curations
to implement different UX if desired.
A new optional parameter has_curations
would be introduced in
collection_render_parameters
.
This change is backward-compatible, since the parameter is optional.
None.
Active
1.0
Code