Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Plone Collection type is a very flexible way to aggregate content from your site. It supports querying the catalog together with sorting the results according to an sortable index (modified date, title, etc.).

Sometimes you need a customized sorting of the results. Think of a folder with many person content items in it and you want to display it with sorting A in one place of your site and with sorting B in another place of a site.

This is where this addon steps in. It allows to sort the results of a collection query on the collection/listing itself. It is done by the editor.

Features

If you install a package it will provide a custom contenttype (SortableCollection) which has the same features as the standard Collection type and additionally allows the sorting of the results in the preview section with drag&drop.

The contenttype makes use of a behavior (SortableCollection) which can be used by custom contenttypes.

If you have Mosaic installed the addon provides the Sortable Contentlisting tile which inherits from the Contentlisting tile from plone.app.standardtiles with the additional sorting features.

Examples

Sortedlisting demo video

Installation

Requirements: Plone 5.1

Install collective.sortedquerystring by adding it to your buildout:

[buildout]

...

eggs =
    collective.sortedquerystring

and then running bin/buildout

Development

https://travis-ci.org/collective/collective.sortedlisting.svg?branch=master https://coveralls.io/repos/github/collective/collective.sortedlisting/badge.svg?branch=master

Build mockup (only Plone 5.1b4 and below)

$ bin/plone-compile-resources -s Plone -b plone
$ bin/plone-compile-resources -s Plone -b plone-logged-in

Build resources

$ bin/plone-compile-resources -s Plone -b sortablequerystring

Contribute

License

The project is licensed under the GPLv2.

Contributors

Changelog

1.0a4 (2017-11-09)

  • Build bundle

  • Set query limit to 50 [tomgross]

1.0a3 (2017-11-08)

  • Don’t limit results for sorting

  • Enhance drag & drop layout [adrianschulz]

1.0a2 (2017-09-07)

  • Fix tests / static code analysis and stream demo video from Youtube [tomgross]

1.0a1 (2017-09-07)

  • Initial release. [tomgross]

Release files for collective.sortedlisting 1.0a4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for collective.sortedlisting 1.0a4
File Size Uploaded
collective.sortedlisting-1.0a4.tar.gz 29.5 kB Details

Release files / collective.sortedlisting-1.0a4.tar.gz

Download URL collective.sortedlisting-1.0a4.tar.gz
Size 29.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e89d2c6fc29a011e24d6c63495ff5ae030e424f2baeac69e9760ae1d92ae45f9
BLAKE2b-256 checksum
How to use checksums
e39d9c4020003b560c5ae3ba92ed016237211159b8baf3a48c30f163436b704f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page