Ignore:
Timestamp:
Feb 8, 2014, 12:11:14 PM (10 years ago)
Author:
mistic100
Message:

allow to choose the sort order when using limit filter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/SmartAlbums/admin/album.php

    r26442 r27266  
    198198  'limit' => array(
    199199    'name' => l10n('Max. number of photos'),
    200     'options' => array(),
     200    'options' => array(
     201      ''                    => '-- ' . l10n('Default') . ' --',
     202      'file ASC'            => l10n('File name, A → Z'),
     203      'file DESC'           => l10n('File name, Z → A'),
     204      'name ASC'            => l10n('Photo title, A → Z'),
     205      'name DESC'           => l10n('Photo title, Z → A'),
     206      'date_creation DESC'  => l10n('Date created, new → old'),
     207      'date_creation ASC'   => l10n('Date created, old → new'),
     208      'date_available DESC' => l10n('Date posted, new → old'),
     209      'date_available ASC'  => l10n('Date posted, old → new'),
     210      'rating_score DESC'   => l10n('Rating score, high → low'),
     211      'rating_score ASC'    => l10n('Rating score, low → high'),
     212      'hit DESC'            => l10n('Visits, high → low'),
     213      'hit ASC'             => l10n('Visits, low → high'),
     214      'id ASC'              => l10n('Numeric identifier, 1 → 9'),
     215      'id DESC'             => l10n('Numeric identifier, 9 → 1'),
     216      ),
    201217    ),
    202218  );
Note: See TracChangeset for help on using the changeset viewer.