Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-4674

Query bar is filled in with incorrect value if click the int32 value on the Schema charts

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: 1.25.0, 1.26.0
    • Component/s: Schema
    • None
    • Environment:
      mac, windows
    • 3
    • Not Needed

      Steps to Reproduce

      See attached gif:

      1. Open collection with documents containing field with int32 data type
      2. Go to Schema tab
      3. Write some query to get only one record in results (you can just set limit:1)
      4. click Analyse
        --> check that query returned 1 record only 
      5. Click the value for int32 field on the displayed charts to filter by it

      Expected Results

      Filter bar is filled in with correct data if click the ui elements to filter data

      Actual Results

      Query bar is filled in with following value: _

      {<field name>: NumberInt

      {'[object Object]')}

      . If click Reset _button it :

      • doesn't clears the query bar
      • doesn't return all documents and still showing 1

      Additional Notes

      Works fine for other data types such as string, double, long, decimal

            Assignee:
            Unassigned Unassigned
            Reporter:
            olena.protsiuk@mongodb.com Olena Protsiuk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: