#1878 searchMetadata generalized to multifield orderby
This commit is contained in:
parent
5e5cd76b4d
commit
a3144ce333
6 changed files with 81 additions and 32 deletions
|
@ -342,10 +342,14 @@ class LocStor extends BasicStor {
|
|||
* <li>limit : int - limit for result arrays (0 means unlimited)</li>
|
||||
* <li>offset : int - starting point (0 means without offset)</li>
|
||||
* <li>orderby : string - metadata category for sorting (optional)
|
||||
* default sorting by dc:title (+ primary sorting by filetype -
|
||||
* audioclips, playlists, webstreams ...)
|
||||
* or array of strings for multicolumn orderby
|
||||
* [default: dc:creator, dc:source, dc:title]
|
||||
* </li>
|
||||
* <li>desc : boolean - flag for descending order (optional)
|
||||
* or array of boolean for multicolumn orderby
|
||||
* (it corresponds to elements of orderby field)
|
||||
* [default: all ascending]
|
||||
* </li>
|
||||
* <li>desc : boolean - flag for descending order (optional)</li>
|
||||
* <li>conditions - array of hashes with structure:
|
||||
* <ul>
|
||||
* <li>cat - string, metadata category name</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue