mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-29 18:52:22 +01:00
[bug] unable to filter statistics from age 0
This commit is contained in:
parent
d69007c6c9
commit
697ea87e37
@ -4,6 +4,7 @@
|
||||
|
||||
- Upgraded ElasticSearch from 1.7 to 5.6
|
||||
- Updated OmniAuth to fix Hashie warnings [omniauth#872](https://github.com/omniauth/omniauth/issues/872)
|
||||
- Fix a bug: unable to filter statistics from age 0
|
||||
- Fix a security issue: dependency loofah has a vulnerability as described in [CVE-2018-8048](https://github.com/flavorjones/loofah/issues/144)
|
||||
- Fix a security issue: rails-html-sanitizer < 1.0.3 has a security vulnerability described in [CVE-2018-3741](https://nvd.nist.gov/vuln/detail/CVE-2018-3741)
|
||||
- Ensure elasticSearch indices are started with green status on new installations
|
||||
|
@ -437,7 +437,7 @@ Application.Controllers.controller "StatisticsController", ["$scope", "$state",
|
||||
}
|
||||
]
|
||||
# optional date range
|
||||
if ageMin && ageMax
|
||||
if typeof ageMin == 'number' && typeof ageMax == 'number'
|
||||
q.query.bool.must.push
|
||||
"range":
|
||||
"age":
|
||||
|
Loading…
x
Reference in New Issue
Block a user