Add 'reading ease' and 'length' sorting methods

This commit is contained in:
Evan Hall 2019-04-13 17:02:28 -05:00 committed by Alex Cabal
parent 3171b7e583
commit 52a5e6056f
3 changed files with 59 additions and 1 deletions

View file

@ -4,6 +4,8 @@
const EBOOKS_PER_PAGE = 12;
const SORT_NEWEST = 'newest';
const SORT_AUTHOR_ALPHA = 'author-alpha';
const SORT_READING_EASE = 'reading-ease';
const SORT_LENGTH = 'length';
const GET = 0;
const POST = 1;