1.2releasedSort Data Source by Parameters
Modifies Data Source edit page to allow entering parameters to be used for sort and order options.
Clone URLhttps://github.com/ahwayakchih/sortdatasourcebyparam.git
Add as a submodulegit submodule add https://github.com/ahwayakchih/sortdatasourcebyparam.git extensions/sortdatasourcebyparam --recursive
Compatibility
2.x.x | 2.1.x | 2.2.x | 2.3.x | 2.4.x | 2.5.x | 2.6.x | 2.7.0 | 2.7.1 | 2.7.2 | 2.7.3 | 2.7.4 | 2.7.5 | 2.7.6 | 2.7.7 | 2.7.8 | 2.7.9 | 2.7.10 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
No | No | 1.1 | No | No | No | No | No | No | No | No | No | No | No | No | No | No | No. Soon? |
Readme
Sort Data Source by Parameters
- Version: 1.2
- Author: Marcin Konicki (http://ahwayakchih.neoni.net)
- Build Date: 27 July 2013
- Requirements: Symphony version 2.3.3 or later.
- Text rendered on screenshots was rendered with Lobster font (http://www.impallari.com/lobster/) created by Pablo Impallari.
Overview
Modifies Data Source edit page to allow entering parameters to be used for sort and order options.
Installation
- Upload the 'sortdatasourcebyparam' folder in this archive to your Symphony 'extensions' folder.
- Enable it by selecting the "Sort Data Source by Parameters", choose Enable from the with-selected menu, then click Apply.
Usage
Use parameter syntax to sort results by field name found in the paremeter value. For example:
{$url-sort-by:title}
will sort entries by field specified in the "sort-by" URL parameter, or fallback to "title" field by default.
Same for sort order:
{$url-sort-order:asc}
will sort using order specified in the "sort-order" URL parameter, or fallback to "asc" (ascending) order by default.
Changelog
- 1.2 Update for Symphony 2.3.3.
- 1.1 Update for Symphony 2.3.
- 1.0 Initial release.
Version history
Requires Symphony 2.3.3
Update for Symphony 2.3.3.
Requires Symphony 2.2
Update for Symphony 2.3.
Requires Symphony 2.2
Initial release.