Ticket #11106 (closed PLIP: duplicate)
Extending plone.app.content
Reported by: | rnix | Owned by: | limi |
---|---|---|---|
Priority: | minor | Milestone: | 4.1 |
Component: | User Experience and Interface | Version: | |
Keywords: | Cc: |
Description
Proposer: Robert Niederreiter, rnix Seconder: None as yet
Motivation
Plone folder_contents view displays item sorting ordered by 'getObjectPositionInParent'.
Now, when managing content, most of the time the user might be interested in newly created items prior to items in order.
So, when having lots of items in a folder current implementation forces the user to scroll and/or navigate through batch.
Assumptions
Having folder_contents sortable by column and the default behavior configurable would solve this issue.
Proposal & Implementation
Behavior of folder_contents Table:
- Sorting will be invoked by klicking table head of corrensponding column
- Sorting will be reversed on klicking an already soreted column table head
- Item sorting column gets disabled (greyed out?) as soon as 'sort_on' changes to anything else than 'getObjectPositionInParent'
Configuration:
- Configuration is done due to folder controlpanel view
- Flag wether table head sorting is enabled at all
- Default sort column selection, defaults to 'getObjectPositionInParent'
Deliverables
- Extend plone.app.content.browser.tableview.Table, plone.app.content.browser.tableview.TableKSSView and corresponding table.pt
- Adopt tests in table.txt
- Extend plone.app.content.browser.foldercontents.FolderContentsTable
- Add properties page to properties tool (extending propertiestool.xml in plone default profile?)
- Create controlpanel view for properties
- Add feature documentation at appropriate location
Risks
As long as base behavior not change no problem is expected (this sure depends on the quality of possible customization)
Participants
Robert Niederreiter, rnix
Progress
Nothing done yet
Duplicate of #11104 (due to Trac bug?)