mirror of
https://github.com/standardebooks/web.git
synced 2025-07-18 20:36:38 -04:00
Add 'reading ease' and 'length' sorting methods
This commit is contained in:
parent
3171b7e583
commit
52a5e6056f
3 changed files with 59 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue