Auto add in region
to usage stats query
with the specified region in the parameter
#443
Closed
5 tasks done
It seems that a rather particular scenario, when the user writes
>0.1
, selects a region. And we need to automatically add the region to users query.in ..
region to thequery
if specifiedregion
parameterquery
in JSON responsegetBrowsers(query, region)
deepEqual
:await getBrowsers('>0.1% and <10%, dead', 'FR')
,await getBrowsers('>0.1% in FR and <10% in FR, dead', 'FR')
await getBrowsers('>0.1% and supports es6-module', 'alt-as')
await getBrowsers('>0.1% and supports es6-module', 'IT')
Errors with displayed versions
https://browsersl.ist/?q=%3E1%25®ion=alt-as (bug)
![](https://user-images.githubusercontent.com/22644149/185062181-1195a397-a5cc-4989-a03a-d7fc70042b6f.png)
https://browsersl.ist/?q=%3E1%25+in+alt-as®ion=alt-as (good)
![](https://user-images.githubusercontent.com/22644149/185062164-f06de231-50d3-405f-9ed3-a071094b8f26.png)
The text was updated successfully, but these errors were encountered: