Problem Statement/Rationale
After closing the tab of a collection, when I view a recent RegExp query in Recents, it is transformed into a pattern query.
Steps to Reproduce
- Open a collection tab in Compass.
- Execute a query such as: {name: RegExp('bob', 'i')}
- In Recents, you can see the query. It is correct.
- Close the collection tab.
- Open the collection tab again.
- In Recents, the query has been changed from a RegExp query to a pattern query.
Expected Results
The query should not change.
Actual Results
The query becomes:
{
name: {
pattern: 'bob',
options: 'i'
}
}
|