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.02.6.12.6.22.6.32.6.42.6.52.6.62.6.72.6.82.6.92.6.102.6.11
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.