pepyatka / pepyatka-server

Server for Pepyatka
79 stars 27 forks source link

Paginator should respect specified parameters. #263

Closed berkus closed 9 years ago

epicmonkey commented 9 years ago

should do the trick:

if (_.isUndefined(offset) || offset < 0)
if (_.isUndefined(limit) || limit < 0)

but my gut is still telling me something... please hold on merging this