Vox Populi(x) forum

Alexandria Book Library => Errori (Bugs) => Topic started by: raum on 10 April 2012, 17:42:43

Title: Small but annoying bug in authors model abook V2.0.2
Post by: raum on 10 April 2012, 17:42:43
First thank you for your great component an the nice work you pulled out !

I noticed that displaying a single 'author' was not possible unless it had some 'books' related to him.

I digged a bit and saw in 'models/author.php' that you used a LEFT JOIN to relate to the table 'abbookauth', so giving no results if the author has no books.

So I corrected line 149 to RIGHT join the querry ...
Hope it helps ... and does not impair other functionalities !

Best regards,
Title: Re: Small but annoying bug in authors model abook V2.0.2
Post by: federica on 10 April 2012, 17:54:44
Hi raum,
thanks for your interest. I fixed the query.
I will put this fix in the next version.

Bye bye