Add missing ebook processing to site edit.

This commit is contained in:
Darko
2015-03-31 09:52:11 +02:00
parent a1808a51fe
commit 1edd0db6fb
+2 -2
View File
@@ -121,8 +121,8 @@ $page->smarty->assign('lookuptv_names', ['Disabled', 'Lookup All TV', 'Lookup Re
$page->smarty->assign('lookup_reqids_ids', array(0,1,2));
$page->smarty->assign('lookup_reqids_names', array('Disabled', 'Lookup Request IDs', 'Lookup Request IDs Threaded'));
// return a list of audiobooks, ebooks, technical and foreign books
$result = $page->settings->query("SELECT id, title FROM category WHERE id in (3030, 7010, 7040, 7060)");
// return a list of audiobooks, mags, ebooks, technical and foreign books
$result = $page->settings->query("SELECT id, title FROM category WHERE id in (3030, 7010, 7020, 7040, 7060)");
// setup the display lists for these categories, this could have been static, but then if names changed they would be wrong
$book_reqids_ids = array();