Vox Populi(x) forum

Alexandria Book Library => Errori (Bugs) => Topic started by: albert on 12 December 2012, 11:30:57

Title: Book counts does not count a book when language is different to ALL
Post by: albert on 12 December 2012, 11:30:57
Hello!

I have a category list, showing all the categories of my books. Initially, with Abook 2.0.3, it appeared with the Book Counts Shows option enabled and It worked propper. After upgrading to 2.0.4, I have checked that the categories only show the number of books it they have language configured to ALL.

So, I disabled Book Count Shows, but the categories that don't have "All language" books don't appear in my category list, as if they were empty.

Is it possible to fix this? Thanks!
Title: Re: Book counts does not count a book when language is different to ALL
Post by: federica on 15 December 2012, 16:58:48
Hi Albert,
the language option works if language plugin is enabled.
The books count sums all the books set to ALL language and all books set to your browser language.
eg:
browser language: en-GB
5 books set to it-IT
2 books set to en-GB
4 books set to  ALL language
the sum shows 6 books and the category shows 6 books

If the browser language is it-IT the sum is equal to 9 books and the category shows 9 books.
ok?