cloudblue / javascript-rql

Javascript RQL lib to transform js object to rql query string
Apache License 2.0
22 stars 3 forks source link

limit and offset together #5

Closed anibalardid closed 4 years ago

anibalardid commented 4 years ago

Hi ! I'm testing your plugin/extension. I notice that you use limit and offset separated : limit=10, offset=0. But in the rql way, they need to stay together: limit(0,10).

Are there any way to fix it ?

And something similar with "sort" ... you use $ordering ... but the correct string is "sort" , using sort(+name) for example

Best regards !

borzovplus commented 4 years ago

Hi ! I'm testing your plugin/extension. I notice that you use limit and offset separated : limit=10, offset=0. But in the rql way, they need to stay together: limit(0,10).

Are there any way to fix it ?

And something similar with "sort" ... you use $ordering ... but the correct string is "sort" , using sort(+name) for example

Best regards !

Hello! Will be fixed in #6

anibalardid commented 4 years ago

THANKS A LOT !!!