|
|
|
@@ -128,7 +128,6 @@ class CustomJsonOrderFilter extends AbstractFilter |
|
|
|
'description' => 'Order by a specific field, optionally on nested sub-resources or by count of sub-resources. Format: { "active": "fieldName", "direction": "asc|desc", "listColDefinition": { "field": "fieldName", "sortingFieldName": "sortFieldName", "sortingSubResource": "subResource", "countSortSubresource": true, "countSortSubresourceValue": "value" or ["value1", "!value2"], "countSortSubresourceField": "fieldToCompare", "countSortFilterSubResource": "subResource", "countSortFilterSubresourceField": "field", "countSortFilterSubresourceValue": "value" } }', |
|
|
|
'name' => 'custom_order', |
|
|
|
'type' => 'string', |
|
|
|
'example' => '{"active":"cntSoldItems","direction":"desc","listColDefinition":{"field":"cntSoldItems","sortingSubResource":"tradePileItems","countSortSubresource":true,"countSortSubresourceValue":["closed"],"countSortSubresourceField":"tradeState","countSortFilterSubResource":"account","countSortFilterSubresourceField":"tmOpen","countSortFilterSubresourceValue":"0"}}', |
|
|
|
], |
|
|
|
], |
|
|
|
]; |
|
|
|
|