Fix the ids in OPDS feed to produce a valid feed. fix #104

This commit is contained in:
Sébastien Lucas 2013-10-25 07:59:27 +02:00
parent 23282ed1e8
commit fa5ec6cb58
7 changed files with 10 additions and 10 deletions

View file

@ -42,8 +42,8 @@ define ('SQL_BOOKS_RECENT', "select {0} from books " . SQL_BOOKS_LEFT_JOIN . "
class Book extends Base {
const ALL_BOOKS_UUID = "urn:uuid";
const ALL_BOOKS_ID = "calibre:books";
const ALL_RECENT_BOOKS_ID = "calibre:recentbooks";
const ALL_BOOKS_ID = "cops:books";
const ALL_RECENT_BOOKS_ID = "cops:recentbooks";
const BOOK_COLUMNS = "books.id as id, books.title as title, text as comment, path, timestamp, pubdate, series_index, uuid, has_cover, ratings.rating";
const SQL_BOOKS_LEFT_JOIN = SQL_BOOKS_LEFT_JOIN;