tfonteyn / NeverTooManyBooks

A book collection app for Android
GNU General Public License v3.0
70 stars 3 forks source link

book listing style, I have enabled author and publisher, but only author is showing #19

Closed tfonteyn closed 9 months ago

tfonteyn commented 9 months ago

Split from #18 by @zettelmuseum

In my custom book listing style, I have enabled author and publisher, but only author is showing, maybe this is a bug?

tfonteyn commented 9 months ago

It depends what you mean.

When defining/editing a style, there are two things to note:

"Groups": these are the levels which will form the book-list nodes, with sorting applied.

"Book Details shown in the list": these are individual fields which will be shown (or hidden) for each book.

In other words:

But aside of the above, The Publisher (but the same is true for any other field) will only be shown on the book level if the books actually has a publisher (i.e. if the search from internet websites returned a publisher.)

But let me know if I misunderstood the question of course. When in doubt, create a backup and use an app which suport ZIP archives to open the backup file. Extract the "styles" and "preferences" and upload those here. Or just upload the entire backup if you wish. Either way I can look into it.

zettelmuseum commented 9 months ago

Okay, I think I nailed the bug. (I deleted my previous comment) I'm talking about "book details shown in list". If I ONLY enable Publisher, it will not show in the list. If I ALSO enable Date Published, Publisher and Date Published show. Should be easily reproducible.

tfonteyn commented 9 months ago

Brilliant find. It's indeed a bug, I found the issue and fixed it. I'll push a new release tomorrow (but will check your other issue first)

tfonteyn commented 9 months ago

Hi,

And here you go: new version 4.6.5