mirror of
https://github.com/standardebooks/web.git
synced 2025-07-10 00:30:28 -04:00
Convert ebook SORT_ constants to an enum
This commit is contained in:
parent
94dce1009a
commit
980ed8cea9
5 changed files with 17 additions and 16 deletions
|
@ -32,10 +32,6 @@ const DATABASE_DEFAULT_DATABASE = 'se';
|
|||
const DATABASE_DEFAULT_HOST = 'localhost';
|
||||
|
||||
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 ARTWORK_THUMBNAIL_HEIGHT = 350;
|
||||
const ARTWORK_THUMBNAIL_WIDTH = 350;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue