mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
issue 1175 add sort parameter to getFiles method.
bug fix in getUploadedFiles method. apply cache to getUploadedFiles method. git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10206 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
68abdaf824
commit
010a8f3a87
2 changed files with 16 additions and 10 deletions
|
|
@ -156,9 +156,9 @@
|
|||
/**
|
||||
* @brief Return all files which belong to a specific document
|
||||
**/
|
||||
function getFiles($upload_target_srl, $columnList = array()) {
|
||||
function getFiles($upload_target_srl, $columnList = array(), $sortIndex = 'file_srl') {
|
||||
$args->upload_target_srl = $upload_target_srl;
|
||||
$args->sort_index = 'file_srl';
|
||||
$args->sort_index = $sortIndex;
|
||||
$output = executeQuery('file.getFiles', $args, $columnList);
|
||||
if(!$output->data) return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue