View Single Post
Old 07-08-2011, 09:27 AM   #115
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,495
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by auskento View Post
I have got this up and running, but I can't get the filtering to work quite the way I want.

On the home page, i only want to see Titles, Authors, Series

I am using the following fields_not_to_dispaly

Code:
$config['fields_not_to_display'] = array('formats', 'identifiers', 'publisher', 'rating', 'tags');
But when I do, i get the following error

Code:
Notice: Undefined index: rating in /websites/calibre/db.php on line 372
Warning: Invalid argument supplied for foreach() in /websites/calibre/db.php on line 372
Notice: Undefined index: rating in /websites/calibre/db.php on line 372
Warning: Invalid argument supplied for foreach() in /websites/calibre/db.php on line 372
And the following shows up in the list

Titles, Authors, Series, Formats (even with formats listed, it gets shunted to the end)

I am also using a search filter to only display a particular type of file format from the library.
Ooops.

Ratings and formats use special code outside the main category loop, and I forgot to apply the display check. I will releae a fixed version this weekend.
chaley is offline   Reply With Quote