View Single Post
Old 10-21-2012, 01:44 AM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,382
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I suggest that rather than developing a plugin for this simply go through the list of books you want to correct Ctrl clicking each one, then hit the E key and bulk swap the title and author.

But if you want to develop a plugin, the swapping code requires loading the title and author from the db and swapping them. I suggest looking through the code of the Quality Check plugin to learn how to do that. There is no single function you can call.
kovidgoyal is online now   Reply With Quote