techfort / LokiJS

javascript embeddable / in-memory database
http:/techfort.github.io/LokiJS
MIT License
6.71k stars 478 forks source link

`simpleSort` with `useJavascriptSorting` don't support `dotNotation` #921

Open Losses opened 1 year ago

Losses commented 1 year ago

Here's the implementation:

https://github.com/techfort/LokiJS/blob/25b9a33d57509717d43b4da06d92064f2b7a6c95/src/lokijs.js#L3295-L3301

But the unit test is trying to use this feature here:

https://github.com/techfort/LokiJS/blob/25b9a33d57509717d43b4da06d92064f2b7a6c95/spec/generic/ops.spec.js#L251-L253