#166 filter by mongo ObjectID

This commit is contained in:
Jan Prochazka
2021-09-16 12:43:51 +02:00
parent 90262a0318
commit 81fbed7a7f
3 changed files with 36 additions and 10 deletions

View File

@@ -26,6 +26,7 @@
if (!filters[uniqueName]) continue;
try {
const ast = parseFilter(filters[uniqueName], 'mongo');
// console.log('AST', ast);
const cond = _.cloneDeepWith(ast, expr => {
if (expr.__placeholder__) {
return {
@@ -112,7 +113,6 @@
return response.data.count;
}
</script>
<script lang="ts">
@@ -229,7 +229,6 @@
{ command: 'collectionDataGrid.export', tag: 'export' }
);
</script>
<LoadingDataGridCore