Commit ce012665 authored by aleclofabbro's avatar aleclofabbro
Browse files

$sort placeholder, moreQueries 0

parent c5006efb
......@@ -29,7 +29,7 @@ export const buildMongoPipeline = (docS: DocumentSelection, notTop?: boolean) =>
notTop && unionLookupPipeline.push({ $match: { $expr: { $eq: [`$_id`, '$$edgeSide'] } } })
}
}
unionLookupPipeline.push({ $sort: { __typename: 1, username: 1 } })
// unionLookupPipeline.push({ $sort: { __typename: 1, username: 1 } })
field.lookups.forEach((fieldLookup, index) => {
const $match = { $and: [{ __typename: fieldLookup.__typename }] as any[] }
fieldLookup.match && $match.$and.push(renameMatchFields(fieldLookup.match))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment