Jean-Sébastien Herbaux
b2b4515d9b
Fix D&P population ( #8249 )
...
* Fix D&P population (gql, rest)
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Fix units tests
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Fix mongoose filtering on non draft & publish model
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
Co-authored-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-10-08 20:54:48 +02:00
Jean-Sébastien Herbaux
c4716d5668
[D&P] Return published content by default from get apis ( #7657 )
...
* Add _publicationState request param / Returns live by default for CT that have D&P activated
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-09-22 17:39:46 +02: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
966d9c554f
Move hasDeepFilters to utils
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 11:36:26 +02:00
Alexandre Bodin
6776a3ce46
Add mongo support
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 11:36:24 +02:00
Pierre Noël
970a470034
add tests + make role decription optional + refacto
...
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-08 10:59:34 +02:00
Pierre Noël
10092f5a57
refacto
...
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-01 11:59:33 +02:00
Pierre Noël
950a21469f
add filtering to search route
...
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-06-30 15:50:52 +02:00
Alexandre Bodin
2886bb7acb
Add manyWay lookup match expr and fix conversion of id and _id type for mongoose match
2020-01-07 12:51:21 +01:00
Alexandre Bodin
66b2d4f5c3
Init
2019-10-23 17:02:23 +02:00