Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Branch: refs/heads/main Date: 2024-08-26T11:44:48-07:00 Author: Jefferson Bledsoe (JeffersonBledsoe) <[email protected]> Commit: plone/plone.restapi@37d02e7 Include next/previous only if enabled (#1799) * Add failing test for next/ previous behaviour * Return empty dict if behaviour or toggle is disabled * Fix missing import in test * Remove bad part of test * Fix some git weirdness? * Fix implementation * changelog * skip tests that require DX site root in Plone 5.2 --------- Co-authored-by: David Glick <[email protected]> Files changed: A news/1799.bugfix M plone-6.0.x-python3.8.cfg M plone-6.0.x.cfg M requirements-6.0.txt M src/plone/restapi/serializer/nextprev.py M src/plone/restapi/tests/http-examples/collection.resp M src/plone/restapi/tests/http-examples/collection_fullobjects.resp M src/plone/restapi/tests/http-examples/content_get.resp M src/plone/restapi/tests/http-examples/content_get_folder.resp M src/plone/restapi/tests/http-examples/content_patch_representation.resp M src/plone/restapi/tests/http-examples/content_post.resp M src/plone/restapi/tests/http-examples/event.resp M src/plone/restapi/tests/http-examples/file.resp M src/plone/restapi/tests/http-examples/folder.resp M src/plone/restapi/tests/http-examples/image.resp M src/plone/restapi/tests/http-examples/link.resp M src/plone/restapi/tests/http-examples/navroot_lang_content_get.resp M src/plone/restapi/tests/http-examples/navroot_lang_folder_get.resp M src/plone/restapi/tests/http-examples/newsitem.resp M src/plone/restapi/tests/http-examples/search_fullobjects.resp M src/plone/restapi/tests/http-examples/site_get_expand_lang_folder.resp M src/plone/restapi/tests/http-examples/site_get_expand_lang_folder_content.resp M src/plone/restapi/tests/http-examples/translated_messages_types_folder.resp M src/plone/restapi/tests/http-examples/translations_expand_get.resp M src/plone/restapi/tests/http-examples/translations_link_on_post.resp M src/plone/restapi/tests/http-examples/translations_unexpanded_get.resp M src/plone/restapi/tests/http-examples/workingcopy_baseline_get.resp M src/plone/restapi/tests/http-examples/workingcopy_wc_get.resp M src/plone/restapi/tests/test_dxcontent_serializer.py
- Loading branch information