Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Development

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 01-04-2020, 06:02 AM   #1
Angelo.Mascaro
Junior Member
Angelo.Mascaro began at the beginning.
 
Angelo.Mascaro's Avatar
 
Posts: 6
Karma: 10
Join Date: Oct 2019
Location: Karlsruhe
Device: Kindle
_mcs_authors_by_book does not reflect the true content of the library

I searched the table _mcs_authors_by_book with DB Browser for SQLite with this query:
SELECT authorname, count(book) AS totalbook
FROM _mcs_authors_by_book
GROUP BY authorname
ORDER BY totalbook DESC
because I wanted to know the authors with more books.
I discovered that this table does not reflect the true content of the library and all the deleted/moved books are still considered. The field book in this table points to id of books that are no longer in the table books
Would it be possible to fix this modifying the TRIGGER books_delete_trg in one of the next versions?
Angelo.Mascaro is offline  
Old 01-04-2020, 06:44 AM   #2
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: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
I think you are looking at a table maintained by [GUI Plugin] Multi-Column Search. If so then you should make this request in that plugin's thread.
chaley is offline  
Old 01-04-2020, 08:48 AM   #3
Angelo.Mascaro
Junior Member
Angelo.Mascaro began at the beginning.
 
Angelo.Mascaro's Avatar
 
Posts: 6
Karma: 10
Join Date: Oct 2019
Location: Karlsruhe
Device: Kindle
Quote:
Originally Posted by chaley View Post
I think you are looking at a table maintained by [GUI Plugin] Multi-Column Search. If so then you should make this request in that plugin's thread.
Thank you very much! Now I realize something obvious: in the database a plugin can create its own tables.
Is there any way to move my post to another thread? Otherwise, I just create a new one there.
AM
Angelo.Mascaro is offline  
Old 01-04-2020, 11:21 AM   #4
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: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Moderator Notice
Original post duplicated in plugins forum. This thread is closed
chaley is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable Library Selection in content library with version 3.0 tochill Calibre 3 06-17-2017 12:39 AM
Quell Reflect obsessed2 enTourage eDGe 0 09-06-2012 10:56 AM
Sigil 0.5.3 extremely slow to reflect changes yotzeret Sigil 4 08-16-2012 06:10 AM
public library content rcrh Sony Reader 13 09-16-2009 12:55 PM
Unutterably Silly Do your surfing habits reflect your gender? Dylrob Lounge 28 09-11-2008 03:09 PM


All times are GMT -4. The time now is 07:11 PM.


MobileRead.com is a privately owned, operated and funded community.