1dcdcb5c31
* FIX: Cast all numerical values in reports The backend can return some numerical values in report as strings. That results in unexpected order of values when sorting report tables. * Create `toNumber()` helper The `typeof` and `parseFloat` seem to be the fastest path: https://jsperf.com/number-vs-typeof-vs-parsefloat#results |
||
---|---|---|
.. | ||
badge-test.js.es6 | ||
category-test.js.es6 | ||
composer-test.js.es6 | ||
email-log-test.js.es6 | ||
group-test.js.es6 | ||
invite-test.js.es6 | ||
model-test.js.es6 | ||
nav-item-test.js.es6 | ||
post-stream-test.js.es6 | ||
post-test.js.es6 | ||
report-test.js.es6 | ||
rest-model-test.js.es6 | ||
result-set-test.js.es6 | ||
session-test.js.es6 | ||
site-test.js.es6 | ||
staff-action-log-test.js.es6 | ||
store-test.js.es6 | ||
topic-details-test.js.es6 | ||
topic-test.js.es6 | ||
topic-tracking-state-test.js.es6 | ||
user-action-test.js.es6 | ||
user-badge-test.js.es6 | ||
user-drafts-test.js.es6 | ||
user-stream-test.js.es6 | ||
user-test.js.es6 |