You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When testing the topic to collection migration we noticed to sort_on and sort_reversedmetadata seems to not get migrated.
it seems like it is just forgotten to add that to the metadata.
With a quick look it seems that it might be fixed by replacing
spereverde
changed the title
topic sort criteria do not get added to the json metadata on export
topic sort criteria do not get added to the json on export
Feb 18, 2022
When testing the topic to collection migration we noticed to
sort_on
andsort_reversed
metadata seems to not get migrated.it seems like it is just forgotten to add that to the metadata.
With a quick look it seems that it might be fixed by replacing
with
in this file:
https://github.com/collective/collective.exportimport/blob/main/src/collective/exportimport/serializer.py#L341
or adding it below the
topic_metadata["query"] = json_compatible(formquery)
on line 361related: https://github.com/plone/plone.app.contenttypes/blob/1.1.1/plone/app/contenttypes/migration/topics.py#L505
Let me know if this seems correct to you, then we will make a PR
The text was updated successfully, but these errors were encountered: