[COMPASS-4674] Query bar is filled in with incorrect value if click the int32 value on the Schema charts Created: 25/Feb/21  Updated: 16/Sep/21  Resolved: 19/Jul/21

Status: Closed
Project: Compass
Component/s: Schema
Affects Version/s: 1.25.0, 1.26.0
Fix Version/s: No version

Type: Bug Priority: Major - P3
Reporter: Olena Protsiuk (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

mac, windows


Attachments: File schema filter by int32.mp4    
Issue Links:
Duplicate
duplicates COMPASS-4210 Creating a query by clicking on a num... Closed
Story Points: 3
Documentation Changes: Not Needed

 Description   

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


Generated at Wed Feb 07 22:37:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.