|
@@ -447,7 +447,6 @@ klass.create = function create(expCtx, sortOrder, limit) {
|
|
|
// RedBeard0531 can the thanked.
|
|
// RedBeard0531 can the thanked.
|
|
|
var sortDirection = 0;
|
|
var sortDirection = 0;
|
|
|
sortDirection = sortOrder[keyField];
|
|
sortDirection = sortOrder[keyField];
|
|
|
- debugger;
|
|
|
|
|
if ((sortDirection != 1) && (sortDirection !== -1)) throw new Error("code 15975; " + klass.sortName + " $sort key ordering must be 1 (for ascending) or -1 (for descending)");
|
|
if ((sortDirection != 1) && (sortDirection !== -1)) throw new Error("code 15975; " + klass.sortName + " $sort key ordering must be 1 (for ascending) or -1 (for descending)");
|
|
|
|
|
|
|
|
nextSort.addKey(keyField, (sortDirection > 0));
|
|
nextSort.addKey(keyField, (sortDirection > 0));
|