Added support for optional flat-list display of "All Books"
Files modified: config_default.php base.php changed class PageAllBooks to test for configuration option "cops_titles_split_first_letter". Used getCurrentOption to prepare for making Split Letter options configurable in web GUI book.php added SQL_BOOKS_ALL query to have a flat-list datasource not grouped by first letter. added const SQL_BOOKS_ALL to class Book added public static function "getBooks", called from Base::PageAllBooks to retrieve the flat-list
This commit is contained in:
parent
5f7f8e6527
commit
8db9489e07
3 changed files with 21 additions and 2 deletions
|
@ -137,6 +137,13 @@
|
|||
* 0 : No
|
||||
*/
|
||||
$config['cops_author_split_first_letter'] = "1";
|
||||
|
||||
/*
|
||||
* split titles by first letter
|
||||
* 1 : Yes
|
||||
* 0 : No
|
||||
*/
|
||||
$config['cops_titles_split_first_letter'] = "1";
|
||||
|
||||
/*
|
||||
* Enable the Lightboxes (for popups)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue