Editing
Sorting Listings
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Settings === * `uris` ** `resort`: URL of the AJAX script that will commit the resorted listings. (default: `/_ajax/utils/resort.php`) * `dom` ** `listings_container`: The listings container selector. (default: `'.listings'`) ** `sortable_selector`: Selector used to define sortable elements. (default: `tr.rec_row`) * `keys` ** `record_id`: Name of the key storing the id of the record(s) being repositioned. (default: `'id'`) ** `position_offset`: Name of the key that stores the position of the first record currently being displayed relative to the first record in the entire set of matching listings. (default: `'po'`) ** `content_type`: Name of the entity represented in the listings. (default: `'type'`) ** `filter`: (Optional) name of the key use to pass filters to apply to the entities, e.g. if they belong to a group. (default: `'filter'`) ''(Note that it's singular.)'' ** `filters`: (Optional) list of keys holding filter values applied to the list of sortable items. These keys correspond to `data-` attributes of the sortable container element. (default: `[]`) ''(Note that it's plural.)''
Summary:
Please note that all contributions to Littledamien Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Littledamien Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information