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.x2.1.x2.2.x2.3.x2.4.x2.5.x2.6.x2.7.02.7.12.7.22.7.32.7.42.7.52.7.62.7.72.7.82.7.92.7.10
NoNo1.1NoNoNoNoNoNoNoNoNoNoNoNoNoNoNo. 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

  1. Upload the 'sortdatasourcebyparam' folder in this archive to your Symphony 'extensions' folder.
  2. 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.