Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 03-04-2019, 05:27 PM   #1
GreywolfofKansas
Junior Member
GreywolfofKansas began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Mar 2019
Device: Samsung Galaxy Tab 2
Creating a Catalog of Books Question

Please forgive me if this has been asked by others, I had asked this in another post and felt that perhaps it needed it's own topic to be seen by more experienced techies out there. I have gotten my settings where I get the author and title sorts the way I want them: Titles with the prefix on the end of the name such as The, A, An, etc.. And I have my Authors showing up First Name Last Name.. That's all fine.. What I can't figure out is how to have it output the SERIES name the same as the title, where the prefixes are applied to the end of the series name. It makes it so hard when trying to go through the list and have a load of books show up under A for A or An being the prefix, or T for THE. Is there any way to tweak the actual SERIES output in the create a catalog so that we have this option. We have the title and title_sort, Author and Author_sort, but only have Series. I think this is something that Calibre really should at least offer in the future, or if someone knows how to configure the internal settings to do so, I would greatly appreciate it.
GreywolfofKansas is offline   Reply With Quote
Old 03-04-2019, 08:38 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Well, the data exists in the SQLite database (see attachment), and it appears to be used if you sort on Series, but it doesn't seem to available as a calibre column - Publisher is in the same boat. I wonder why they're not regular columns?

Maybe there's a way of exposing the series.sort SQLite column as calibre custom column via a template.

Failing that try asking DaltonST if he could add a SeriesSort and a PublisherSort feature to his Job Spy plugin.

BR
Attached Thumbnails
Click image for larger version

Name:	2.jpg
Views:	139
Size:	231.9 KB
ID:	170009  

Last edited by BetterRed; 03-04-2019 at 08:44 PM. Reason: add JS link
BetterRed is offline   Reply With Quote
Advert
Old 03-05-2019, 04:54 AM   #3
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: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
There is a series_sort template function. Depending on what the OP is doing, one can use the function directly in a template or create a composite custom column containing the series_sort value.

The series sort value in the database is kept up to date but is not used AFAICT.

The publisher sort in the database is not kept up to date. AFAIK the notion of publisher sort distinct from publisher doesn't exist in calibre.
chaley is offline   Reply With Quote
Old 03-05-2019, 05:43 AM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by chaley View Post
There is a series_sort template function. Depending on what the OP is doing, one can use the function directly in a template or create a composite custom column containing the series_sort value.

The series sort value in the database is kept up to date but is not used AFAICT.

The publisher sort in the database is not kept up to date. AFAIK the notion of publisher sort distinct from publisher doesn't exist in calibre.
- just noticed, you've relocated

@GreywolfofKansas create a custom column thusly:

Click image for larger version

Name:	1.jpg
Views:	137
Size:	35.2 KB
ID:	170017

The Template value must be {:'series_sort()'} precisely, ftr those are straight quotes. After adding, changing or removing a custom column you must restart.

et voilà, the Series Sort column should now be in the CSV Field list.

BR

Last edited by BetterRed; 03-05-2019 at 05:57 AM.
BetterRed is offline   Reply With Quote
Old 03-05-2019, 09:45 AM   #5
GreywolfofKansas
Junior Member
GreywolfofKansas began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Mar 2019
Device: Samsung Galaxy Tab 2
Thank you

AWESOME Job! Thank you all so much for the help!!
GreywolfofKansas is offline   Reply With Quote
Advert
Old 03-05-2019, 04:19 PM   #6
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: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BetterRed View Post
- just noticed, you've relocated
Yea, just in time to get thrown out on March 29.

The move is why I haven't been able to keep up with things. All of our stuff is still in storage, and are flat is full of construction dust. Maybe in 3 months or so...
chaley is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with creating catalog Jade Aislin Library Management 2 07-03-2013 05:36 PM
Example of creating a catalog in batch Willum Library Management 9 02-07-2013 01:54 PM
Problem creating catalog beckywc Library Management 10 12-05-2012 03:27 PM
Conversion Error when creating Catalog thangnh Library Management 1 02-21-2011 08:38 AM


All times are GMT -4. The time now is 09:27 PM.


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