Sneridagh plone contents#8227
Merged
Merged
Conversation
Co-authored-by: Steve Piercy <web@stevepiercy.com> Co-authored-by: David Glick <david@glicksoftware.com>
* seven: (43 commits) [codex] Handle stale auth cookies on public requests (#8216) Release Seven 1.0.0-alpha.4 Release @plone/layout 1.0.0-alpha.8 Release @plone/blocks 1.0.0-alpha.10 Release @plone/plate 1.0.0-alpha.8 Release @plone/helpers 2.0.0-alpha.6 Make the import for the styleFields helper resilient and Volto-compatible (#8206) [Seven] Make style fields first-class and preserve block width fallback (#8204) Release @plone/plate 1.0.0-alpha.7 Fixed toolbar button if a single option is shown (#8186) Release @plone/layout 1.0.0-alpha.7 Release @plone/blocks 1.0.0-alpha.9 Release @plone/plate 1.0.0-alpha.6 Release @plone/helpers 2.0.0-alpha.5 Release @plone/types 3.0.0-alpha.1 [Seven] Style fields (#8175) Release @plone/plate 1.0.0-alpha.5 Fixed import from repo in @plone/plate (#8183) Improved prereleaser script Release Seven 1.0.0-alpha.3 ...
Documentation build overview
214 files changed ·
|
Documentation build overview
|
pnicolli
reviewed
May 18, 2026
Comment on lines
+100
to
+110
| const onSortItems = (_: any, { value }: { value: string }) => { | ||
| const [sort_on, sort_order] = value.split('|'); | ||
| const params = new URLSearchParams(window.location.search); | ||
|
|
||
| params.set('sort_on', sort_on); | ||
| params.set('sort_order', sort_order); | ||
| params.delete('page'); | ||
|
|
||
| const querystring = params.size > 0 ? '?' + params.toString() : ''; | ||
| navigate(`/@@contents${content['@id']}${querystring}`); | ||
| }; |
Contributor
There was a problem hiding this comment.
This was not the purpose of this function. The purpose of this in the previous implementation was to actually sort items on the backend, moving stuff around in the folder.
I know that Quanta also wants this feature though when clicking column names, I will think of a way to make both happen.
pnicolli
approved these changes
May 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.