Archived
2

Fixed uppercase change for commented out code

This commit is contained in:
Hartenstein Ruben (PEA4-Fe) 2021-01-26 13:40:13 +01:00
parent 0006b09d8d
commit edc68bd6d2

View File

@ -802,7 +802,7 @@ function customFieldsChange (fields, amount, req) { // Update custom_fields and
}); });
} }
function sortQuery(filters, sortKeys, sortStartValue) { // SortKeys = ['primary key', 'secondary key'] function sortQuery(filters, sortKeys, sortStartValue) { // sortKeys = ['primary key', 'secondary key']
if (filters['from-id']) { // From-id specified if (filters['from-id']) { // From-id specified
const ssv = sortStartValue !== undefined; // If value is not given, match for existence const ssv = sortStartValue !== undefined; // If value is not given, match for existence
if ((filters['to-page'] === 0 && filters.sort[1] === 1) || (filters.sort[1] * filters['to-page'] > 0)) { // Asc if ((filters['to-page'] === 0 && filters.sort[1] === 1) || (filters.sort[1] * filters['to-page'] > 0)) { // Asc