Mattias van den Belt
|
23ead26f94
|
Fix undefined filter value (#8490)
* Fix undefined filter value
Fixes #8201
Signed-off-by: MattieBelt <mattiasvandenbelt@gmail.com>
* Move isNil() before .map() & update error message
Fixes #8201
Signed-off-by: MattieBelt <mattiasvandenbelt@gmail.com>
* Fix allowing to find null values
Signed-off-by: MattieBelt <mattiasvandenbelt@gmail.com>
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
|
2021-02-01 16:18:17 +01:00 |
|
Pierre Noël
|
08f9b05d21
|
Fix query when filtering and sorting on a relational field (#9045)
* fix query when filtering and sorting on a relational field
* add tests + refacto
* remove useless code
|
2021-01-11 17:21:01 +01:00 |
|
Alexandre Bodin
|
e630cee0c9
|
Small refactoring to make the code easier to read
|
2020-12-10 11:17:41 +01:00 |
|
Convly
|
a415638848
|
mongoose:buildQuery : add the sort operator after the query matches, handle id=>_id, optimize the reorder by ids
|
2020-12-10 10:02:29 +01:00 |
|
Convly
|
92451db825
|
Add deep sort to mongoose, fix sort order on both connectors, cleanup
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-12-08 16:56:21 +01:00 |
|
Alexandre Bodin
|
07e7cfc0bd
|
Make lint stricter and fix the errors
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-11-02 19:41:42 +01:00 |
|
Alexandre Bodin
|
38d67fc873
|
Fix mongo issues
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 16:07:11 +02:00 |
|
Alexandre Bodin
|
44a7e2321d
|
Update findOne
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 11:48:42 +02:00 |
|
Alexandre Bodin
|
966d9c554f
|
Move hasDeepFilters to utils
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 11:36:26 +02:00 |
|
Alexandre Bodin
|
82316bbf3a
|
Allow or operator and working with bookshelf
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 11:32:44 +02:00 |
|
Pierre Noël
|
1ee5b7f189
|
fifth refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:10:09 +02:00 |
|