sivasamyk/logtrail

It's posible add a secondary sorting field?

rafaelurdaneta opened this issue · 1 comments

Hi! in the server.js file a found :

// If secondary sorting field is present then set secondary sort. let secondarySortField = selectedConfig.fields.secondary_sort_field; if (secondarySortField != undefined) { if (secondarySortField.length > 0) { searchRequest.body.sort[0][secondarySortField] = {'order':request.payload.order} } }

But can't find how define it.

Thank's a lot